In a right triangle, the shortest side is 13 miles long. The difference between the lengths of the other two sides is 1 mile. Find the lengths of the missing sides. Use exact values.