in problem number 1, the answer is 2. because if Aneesha multiply the first equation with 5, 2y will become 10y and if she multiply the sencond equation with 2, 5y will become 10y and 10y from both equations cancel out each other.
in problem number 2, the answer is 2. it's the same logic as number 1. if you multiply 0.5x with 2, it will become 1 and cancel out with x from first equation.