Rectangular implies the area to be length times height
let height=x
let width=2 more than the height or Length=2+x
Area=F(x)=(2+x)(x)=2x+x^2
f(x)=x^2+2x
****************To Answer your Additional question
You see the standard price is $100 for any mural, And also charges $40 per square foot.
So to show you the approach, Lets say that a mural of 1 square feet needs to be painted, then the charge will be $100 plus the $40 for every square feet, then it will be 100+40(1 square feet)=$140.
The problem asks for the charge of mural whose area is x, so lets do the same thing.
$100+40(x square feet)=100+40x and that is the function that gives the price of mural with an area of x.
so, g(x)=100+40x