A rectangle has the dimensions shown in the diagram.



The perimeter of the rectangle is \(24\) units. Determine the length of the sides of the rectangle.