The width of a rectangle is 8 cm less than its length. The diagonal of the rectangle is 12 cm.
Determine the dimensions of the rectangle. (4 marks)