Total earning of The Shadows software company during 2012 on selling programs = 800000.
Total expenses of the company during the same year = 125300.
Total profit = Total earning of The Shadows software company during 2012 on selling programs - Total expenses of the company during the same year.
Plugging the values, we get
800000 - 125300 = 674700.