Hint: Convert data in cm.
$$2$$m $$15$$cm$$=215$$cm($$1$$m $$=100$$cm)$$40$$m$$=40\times 100=4000$$cm
Cloth required for one shirt$$=215$$cm
Number of shirts that can be stitched out of $$4000$$cm $$=4000\div215$$
$$18$$
__________
$$215) 4000$$
$$215$$
_________
$$1850$$
$$1720$$
_________
$$130$$
__________
Therefore, $$18$$ shirts can be made $$130$$cm, i.e., $$1$$m $$30$$cm, cloth will remain.