The perimeter of a pentagon is 48. One side is equal to x, two sides are twice x and two sides are three more than x. What are the measurements of the sides?