Define a variable and then use the information in the problem to write expressions for the other numbers in the problem. You need a variable or expression for the ages of each of them both now and 10 years from now.
let x = Irfan's age now. Then...
3x = Asim's age now
x+10 = Irfan's age 10 years from now
3x+10 = Asim's age 10 years from now
Write and solve the equation that says Irfan's age 10 years from now is (will be) twice Asim's age 10 years from now.