Let the equation of other sides be
y=mx+c
It passes through (2,2), so
2=2m+c
⇒c=2(1−m)
So, y=mx+2(1−m)
Angle between two lines is given by :
tanθ=∣∣∣m1−m21+m1m2∣∣∣
Equation of hypotenuse is given by 3x+4y=4, so the slope is
m1=−34
Using angle between two lines formula : Angle between the base and hypotenuse is 45∘, so
tanθ=∣∣
∣
∣
∣∣−34−m1−3m4∣∣
∣
∣
∣∣
⇒tan45∘=∣∣∣−3−4m4−3m∣∣∣
⇒∣∣∣3+4m4−3m∣∣∣=1
⇒3+4m4−3m=±1
⇒3+4m4−3m=1 or ⇒3+4m4−3m=−1
⇒3+4m=4−3m or 3+4m=3m−4
⇒m=17,−7
Therefore, the equation of sides are
y=17x+2(1−17)
and y=−7+2(1+7)
i.e. x−7y+12=0 and 7x+y−16=0