Let the asymptotes be x−y+c1=0 and x+y+c2=0
Since, the asymptotes passes through the centre (−1,2) of the hyperbola.
∴,−1−2+c1=0 and −1−2+c2=0
⇒c1=3,c2=3
Thus, the equations of the asymptotes are
x−y+3=0 and x+y+3=0
Let the equation of the hyperbola be
(x−y+3)(x+y+3)+λ=0 ........(1)
It passes through (−3,4).
∴,(−3−4+3)(−3+4+3)+λ=0
⇒−4×4+λ=0
⇒−16+λ=0
⇒λ=16
Putting the value of λ in (1), we obtain
(x−y−1)(x+y+3)+16=0
This is the equation of the required hyperbola.