Answer
7 and 12
Work Step by Step
Let x be the side of the smaller square.
Then according to question. (x+5) is the side of the bigger square.
Area of the square is given by $(side)^{2}$.
Thus $(x+5)^{2}-x^{2}=95$
Simplify the expression
$x^{2}+10x+25-x^{2}=95$
Combine the like terms and solve.
$10x=70$
$x=7$
Thus side of smaller square = 7in
And side of bigger square = 7+5 = 12in