Jane has $7 and her sister had $2. Their parents have each of them an equal amount of money. Then, Jane had twice as much money as her sister. How much money did their parents give each of them?