Teachers, please teach P4 conquer problem sums Unit 1.7- More Than/Less Than(External Unchanged Type 1) question 3:

Mr Tan had $800 more than Mr Krishnan at first. After Mr Krishnan had spent $340, Mr Tan had 5 times as much money as Mr Krishnan. Find the amount of money Mr Tan had at first.