If the ratio of milk cartons to juice boxes is 13:x and there are 39 milk cartons
and 18 juice boxes, what is the value of x?