Let 2m of trouser material and 3m of shirt material be bought by Hasan.
∴Selling price of trouser material/ metre=Rs.90+90×12/100=90+10.8=Rs.100.80
Selling price of shirt material per metre=Rs (50+50×10/100)=50+5=Rs.55
∴Total amount of selling=36660
100.8×2x+55×3x=36660
366.60x=36660
x=100
Trouser material=2x=2×100m=200 m
Shirt material=3x=3×100m=300m