What is the mathematical equation of the sum of the squares of a number x and 3 yields 25?