To find the button on your content page you have to search for the ContentPlaceHolder1 control first.
Then use the FindControl function on the ContentPlaceHolder1 control to search for your button:
ContentPlaceHolder cph = (ContentPlaceHolder)this.Master.FindControl("ContentPlaceHolder1");
Response.Write(((Button)cph.FindControl("a")).Text);