After joining two pieces of a picture frame together a frame maker checks her work by measuring the diagonal. The sides of the frame form a right angle and the measurements are as follows: a=12in. and b=5in.