What is the dimensions of a rectangle with a perimeter of 34 inches and an area of 42 inches squared?

The dimensions of the rectangle are 3 inches by 14 inches