Pale has a piece of string 24 centimetres long. He ties the ends together and then lays it out so that it makes a rectangle. He notices that the length of the long sides is twice the length of the short sides.
How long are the sides of the rectangle?