Pristine Pipes Inc. produces plastic pipe for use in newly-built homes. Two of the basic types of pipe have different diameters, wall thickness, and strengths. The strength of a pipe is increased by mixing a special additive into the plastic before it is molded. The table below shows the resources needed to produce 100 feet of each type of pipe and the amount of the resource available each week.
If the profit on 100 feet of type A pipe is $34 and of type B pipe is $40, how much of each should be produced to maximize the profit?