Solve a word problem involving a square inside another square.