d nhận \(\left(2;3\right)\) là 1 vtpt nên nhận \(\overrightarrow{u}=\left(3;-2\right)\) là 1 vtcp
Do \(B\in d\) nên tọa độ có dạng: \(B\left(b;\dfrac{-2b-4}{3}\right)\Rightarrow\overrightarrow{AB}=\left(b-1;\dfrac{-2b-7}{3}\right)\)
\(cos45^0=\dfrac{\left|3.\left(b-1\right)+\dfrac{2\left(2b+7\right)}{3}\right|}{\sqrt{3^2+2^2}.\sqrt{\left(b-1\right)^2+\left(\dfrac{2b+7}{3}\right)^2}}=\dfrac{1}{\sqrt{2}}\)
\(\Leftrightarrow2\left(13b+5\right)^2=13\left(13b^2+10b+58\right)\)
\(\Leftrightarrow169b^2+130b-704=0\Rightarrow\left[{}\begin{matrix}b=-\dfrac{32}{13}\\b=\dfrac{22}{13}\Rightarrow y_B=-\dfrac{32}{13}< 0\left(loại\right)\end{matrix}\right.\)