The perimeter of a rectangle is 30 cm and its area is 5cm². Find the dimensions of the rectangle.​