Equation:
\[
xy + ax + by = 0.
\]
Implicit differentiation at \((1,1)\):
\[
y + x \frac{dy}{dx} + a + b \frac{dy}{dx} = 0.
\]
Slope at \((1,1)\):
\[
\frac{dy}{dx} = -\frac{y + a}{x + b}.
\]
Given slope = \(\tan \theta = 2\).
Substitute \(x=y=1\):
\[
2 = -\frac{1 + a}{1 + b} \implies 2(1+b) = -(1+a).
\]
Solve for \(a,b\), then calculate \(\frac{ab}{a+b} = 2\).