Vì (d)//y=-1/3x+2021 nên a=-1/3
Vậy: (d): \(y=-\dfrac{1}{3}x+b\)
Thay x=3 và y=1 vào (d), ta được:
b-1=1
hay b=2
Hàm số \(//\left(d\right)\Leftrightarrow\left\{{}\begin{matrix}a=-\dfrac{1}{3}\\b\ne2021\end{matrix}\right.\Leftrightarrow y=-\dfrac{1}{3}x+b\)
Hàm số đi qua \(M\left(3;1\right)\Leftrightarrow-\dfrac{1}{3}\cdot3+b=1\Leftrightarrow b=2\)
Vậy hs cần tìm là \(y=-\dfrac{1}{3}x+2\)