You just about have it. x=# standard tents and y=# lightweight tents.

You have

These two lines intersect at x=20. You can graph and see.

There are three vertex points: (0,21), (0,16), (20,6)

Plug these into the profit equation and see which yields the max.