The width of the rectangle is half the length. The perimeter of the rectangle is 30cm. Calculate the width and the length of the rectangle