Alice is planning a party and needs to buy drinks. She decides to purchase two types of drinks: soda and juice. The price of soda is $1.20 per can, and the price of juice is $1.50 per bottle.
Alice wants to buy a total of 10 drinks, and she wants to spend exactly $13.50 on both types of drinks.
If she buys $x$ cans of soda and $y$ bottles of juice, we can write the following equations:
1. Total number of drinks: $$x + y = 10$$
2. Total cost: $$1.20x + 1.50y = 13.50$$
How many cans of soda did Alice buy? Provide your answer as a decimal or a fraction.