A rectangle has sides of lengths x and 2x. How do you express the area A of the rectangle as a function of it perimeter P?