Solve each problem. Check answers to be sure that they are reasonable. Refer to the formulas at the back of this text as needed.
A square mirror has sides measuring 2 ft less than the sides of a square painting. If the difference between their areas is $32 \mathrm{ft}^{2}$, find the lengths of the sides of the mirror and the painting.