1. When purchasing goods for an amount of no less than 900 rubles, the store provides a discount on subsequent purchases of $25 \%$. Having 1200 rubles in his pocket, Petya wanted to buy 3 kg of meat and 1 kg of onions. In the store, meat was sold at 400 rubles per kg, and onions at 50 rubles per kg. Realizing that he did not have enough money for the purchase, Petya still managed to buy what he intended. How did he do it?
First purchase: 2 kg of meat and 2 kg of onions. Its cost is 900 p. Second purchase: 1 kg of meat. With a $25 \%$ discount, its price is $400 \cdot 0.75=300$. The total amount of both purchases $-1200 \mathrm{p}$.