A∈f ⇒ f(2)= 6 ⇒ a·2 +2 =6 (am înlocuit pe x cu 2 ) 2a+2 = 6 ⇔ 2a =4⇔a=2
A∈g ⇒ g(2) 6 ⇒ 5·2 + b = 6 10 + b = 6⇔ b=6-10⇔b=-4
Cum form generala a unei functii este h(x)=ax+b
f(x)=ax+2 inlocuind pe a obtinem f(x)=2x+2
g(x)=5x+b inlocuind pe b obtinem g(x)= 5x-4