let the length be x, the width will be (95-x)
the total cost for the lengths will be:
36×x×2=$72x
Total for width will be:
2*6*(95-x)=1140-12x
total amount will be:
72x+1140-12x=4260
solving for x we get:
60x=4260-1140
60x=3120
x=52 ft
thus length=52ft
width=95-52=43 ft