Răspuns :
[tex]\it 2.\\ \\ g(x)=mx-2 \Rightarrow g(2)=2m-2\ \ \ \ \ \ (1)\\ \\ \\ Dar,\ \ g(2)=6\ \ \ \ \ \ (2)\\ \\ \\ (1),\ \ (2)\ \Rightarrow2m-2=6|_{:2}\ \Rightarrow\ m-1=3 \Rightarrow m=4[/tex]
[tex]\it 3.\\ \\ f(x)=ax+b\ \ \ \ \ \ (*)\\ \\ A(-1,\ 2)\in Gf \Rightarrow f(-1)=2\ \ \ \ \ (1)\\ \\ (*) \Rightarrow f(-1)=-a+b\ \ \ \ \ \ (2)\\ \\ (1),\ \ (2) \Rightarrow -a+b=2 \Rightarrow b=a+2\ \ \ \ \ \ (3)[/tex]
[tex]\it B(2,\ -1)\in Gf \Rightarrow f(2)=-1\ \ \ \ \ \ (1')\\ \\ (*) \Rightarrow f(2)=2a+b \ \ \ \ \ \ (2')\\ \\ (1'),\ \ (2') \Rightarrow 2a+b=-1 \Rightarrow b=-2a-1\ \ \ \ \ \ (3')[/tex]
[tex]\it (3),\ (3') \Rightarrow a+2=-2a-1 \Rightarrow a+2a=-1-2 \Rightarrow 3a=-3 \Rightarrow a=-1[/tex]
[tex]\it a=-1\ \stackrel{(3)}{\Longrightarrow}\ b=-1+2 \Rightarrow b=1\\ \\ \\ Deci,\ \ f(x)=-x+1[/tex]