According to the information the triangle is formed by the sides of the 3 squares, if you mind the missing side of the triangle formed by the 5inch and 13inch sides you find the side of the third square.
Use the pythagorean
The lenght of a side in the third square could be 12 inches.