A rectangle is twice as long as it is wide. Its perimeter (the sum of the lengths of its sides) is 84 cm. Find its length and width (in cm).