x=8.9 because when you square it and divide you get 39.6.. rounded to 40.
The answer is 6.3. 6.3 squares is 39.69 which rounds to 40