The perimeter of a rectangle is 54cm. one side is x cm and the other side is 6cm longer. form an equation involving x . solve the equation and write down the length of each of the sides