Question 914554
x, the side of one of the squares
y, the side of the other square


First condition:  {{{x^2+y^2=58}}}


Second condition:  {{{4x+4y=10}}}


Solving the two equations for x and y is arithmetic using variables.  Simplify the perimeter sum equation and solve it for one of the variables; and substitute this into the area sum equation; solve for the value of the single variable, and then use the result in the perimeter sum equation for the value of the other variable.