Pair of straight lines:
ax2+2hxy+by2=0
Equation of pair of straight lines which bisects the angle between these two lines:
x2−y2a−b=xyh
a=sin2θ+tan2θ
b=sec2θ
h=cosθ
x2−y2(sin2θ+tan2θ)−sec2θ=xycosθ
⇒x2−y2=−xy2
y=mx is one of the bisectors.
x2−m2x2=−mx22
⇒2m2−m−2=0
m=1±√174
a=1, b=17⇒17−10=7