A triangle has sides A, B, and C. The angle between sides A and B is #(pi)/4#. If side C has a length of #25 # and the angle between sides B and C is #( 3 pi)/8#, what are the lengths of sides A and B?