I need to determine the set of values $a,b$ such that the system of equations
$$ac-5bd=1$$
and
$$ad+bc=0$$
has solutions in the integers. I know I can solve the latter for
$$a=-\frac{bc}{d}$$
and get
$$\frac{-bc^2}{d}-5bd=1$$
Clearly exactly one of $b,d$ must be negative, and we can get
$$-bc^2-5bd^2=d$$
which is
$$-b(c^2+5d^2)=d$$
but from here I'm not sure where I could go.
Hint: If $a$ and $b$ are fixed, this is a system of two linear equations in two unknowns, which we can solve to get
$$c=\frac{a}{a^2+5b^2},\ d=-\frac{b}{a^2+5b^2}.$$
When are these both integers?