A chain saw requires 5 hours of assembly and a wood chipper 4 hours. A maximum of 40 hours of assembly time is available. The profit is $150 on a chain saw and $230 on a chipper. How many of each should be assembled for maximum​ profit?