Draw a diagram (not included) it always helps with word problems.

let l be the length and w be the width.

we know that be we also know that that area we are trying to minimize is A=(l+2)(w+3) (if you don't see why draw the diagram)

Now subbing the first into the 2nd we get

Just take the derivative from here.

Good luck