maths
posted by srihita .
Harry and Potter had $224 altogether. When Harry gave 1/5 of his money to Potter, they foundthey had the same amount of money. How much money did each have at the beginning?

Let x = Harry, then 224x = Potter.
4/5x = (224x) + 1/5x
Solve for x. (Multiply both sides by 5 first.)