Let and be number of and B trees.
According to the question,
Maximize
The feasible region determined by is given by
The corner points of feasible region are .The value of at corner points are
The maximum value of is 3200 at point .
Hence, the man should plant 20 A trees and 40 B trees to make maximum profit of Rs.