ibm - rs 50000 is divided into two parts one part is given to a person with 10 interest and another part is given to a person with 20 interest at the end of first year he gets profit 7000 find money given by 10 - skillgun

Assume x was given to a with 10% interest.
then b got 50,000 - x
interest = p*t*r /100
so
7000 =((50000 - x)*1*20)/100 +(x*1*10)/100
700000 = 1000000 - 10x
x = 30000