A rectangle has sides of 6 and 13. In a similar rectangle, the longer side is 39 and the shorter side is x. Write a proportion that models the situation described. Then, solve the proportion for x.