Total investment = 1 lac
Loss in first year = 5% = 5/100 x 100000 = 5000
Profit in Second year = 10% = 10/100 x 100000 = 10000
Profit in Third Year = 12% = 12/100 x 100000 = 12000
There Total Money = Investment - Loss + Profit in 2nd year + Profit in 3rd year
= 100000 - 5000 + 10000 + 12000
= 117000
Therfore Net Profit is = Amount - Investement = 117000 -100000 = 17000