If you have a circle in a square and r is the radius of the cicle and x is the measurement outside the square what would the formula be to find the area of the whole square using x and r?

i'm not actually sure about this, but what do you mean "x is the measurement outside the square"? is it the length of the square? because if you have a circle inside a square, you can find right away the area of the whole square using the given radius r.

the side of the square is equal 2r (the diameter). thus the area will be
A = s^2
A = (2r)^2
A = 4r^2

hope this helps~ :)