1) Let $a$ and $b$ be real numbers such that $(a^2+1)(b^2+4) = 10ab - 5$. What is the value of $a^2+b^2$?
2) Find the number of pairs of integers $(x,y)$ with $0<x,y<10$ that satisfy $$\frac{1}{1-\frac{10}{x}} > 1 - \frac{5}{y}.$$
For question 1, I have expanded everything and moved it to the left side. I have tried manipulating it by completing the square, but it didn't work. For question2, I have simplified it to get $0>\frac{y}{5}-\frac{10}{x},$ but I feel like the answer to this question is infinity. Any help would be appreciated.
Edit: This addresses part 1 only.
Expand the left-hand side to obtain $$4a^2 + b^2 + 4 + a^2b^2 = 10ab - 5.$$ Rearranging a bit, we have $$4a^2-4ab + b^2 = -(ab)^2+6ab - 9.$$ We recognize this as $$(2a-b)^2 = -(ab-3)^2.$$ Now, since everything is real, the left-hand side is non-negative, and the right-hand side non-positive, so both must be equal to $0.$ Hence, $2a = b$ and $ab = 3,$ giving the real solutions mentioned in the comments above.