So, I'm completely lost on this. It's very easy to figure out as it's just writing a function, but I'm not entirely sure about the correct way to do so. I'd just like a standard f(w)= l*w type formula, if that's okay.

Raj is making a rectangular garden for his dog Cinnamon to play in. The length, l, of the garden is 2 yards greater than its width, w, in yards. Enter the function, f(w), which describes the area, in square yards, of Raj’s garden as a function of the width, w.

Respuesta :

Width = w
length = w+2

f(w) =w(w+2) = w^2 + 2w.

Please, let me know whether the procedure is clear for you.

The answer is f(w)=w^2 + 2w.