Answer:
ratio= 2:7
then..
2x+7x = RS 540
or,9x=rs540
or,x= rs 540/9
or, x=60
then
2x= 2*60= 120
or, 7x= 7*60=420