Arafat and Asif were each paid X taka in advance to do a certain job together. Arafat worked on he job for 10 hours and Asif worked 2 hours less than Arafat. If Asif gave Arafat Y taka of his payment so that they would have received the same hourly wage, what was the amount in taka, in terms of Y, that Arafat was paid in advance?