One of the legs a right triangle is twice as long as the other and the perimeter of the triangle is 28. Find the lengths of all three sides, to three decimal places