let x be the amount of the 2%-solution
let y be the amount of the 12%-solution
Then you get 2 simultanous equations:
Multiply the equation B by 50 and calculate 50*B-A:
5y=450. Thus y = 90. Plug in this result into A. You'll get x = 60.