Q) If from a point $P\equiv(4,4)$ perpendiculars to the straight lines $-3x+4y+5=0$ and $y=mx+7$ meet at $Q$ and $R$ and area of triangle $PQR$ is maximum then $m=__ $ ?
First I drew the known line $-3x+4y+5=0$ and the unknown line $y=mx+7$ then I fixed the perpendicular distance from $P(4,4)$ as a fixed value $b$ .
I also know that area of a triangle $\dfrac{1}2 \times base \times height$ so to maximise this area we need $base=height$
I took $base$ as my assumed constant $b$
Then I found out $b=9/5$
Then I substituted in distance formula and I have no idea how to proceed further
$\frac{9}{5}=\frac{-4m+4+c}{\sqrt{m^{2}+1}}$

Dropping the perpendicular from $P$ onto the given line $g: \>-3x+4y+5=0$ gives the point $Q$. We can consider $PQ$ as base of our triangle and then have to make the corresponding height as large as possible. All lines $h_m:\>y=mx+7$, $m\in{\mathbb R}$, pass through the point $Z=(0,7)$. Since $\angle(PRZ)={\pi\over2}$ the point $R$ has to lie on the Thales circle over the segment $PZ$. The center of this circle is the point $M=\bigl(2,{11\over2}\bigr)$, and its radius computes to ${5\over2}$. The optimal point $R$ is then found as follows: Draw a parallel $g'$ to $g$ through the point $M$ and intersect it with the circle. Take the better of the two points so obtained; it is the left one. Looking at the symmetries of the figure one realizes that $R=(0,4)$. This means that there is a largest triangle $PQR$ satisfying $\angle(PRZ)={\pi\over2}$, but strictly speaking $h_*:=R\vee Z$ does not belong the given family of lines $(h_m)_{m\in{\mathbb R}}$, since $h_*$ is vertical.