The length of a rectangle is 3 times the width, and the perimeter is 22. Find the dimensions of the rectangle.

whats the length and width?