An airplane ticket has a perimeter of 30 cm and an area of 50 square cm. What are the dimensions of the ticket?