Let t=length of the printed area and s=the width of the printed area.
ts=288 and
A=(t+4)(s+2) is the area of the poster to be minimized.
Substitute s=288/t into the equation for A.
Set dA/dt=0 and solve for t. Be careful with the differentiation!
You should get t=24 and s=12.