Răspuns :
[tex]\texttt{Graficul functiei: } \\ f(x)=a-x \\ \texttt{ este dreapta de ecuatie:} \\ y = a - x \\ \\ \texttt{Introducem coordonatele punctului in ecuatia dreptei:} \\ \\ A_y = a-A_x \\ \text{unde }A_x \texttt{ si }A_y \texttt{ sunt coordonatele punctului }A. \\ \\ 5 = a - 3 \\ \Longrightarrow ~~ a = 5+3 = \boxed{8}[/tex]
[tex]\Longrightarrow ~~\boxed{f(x) = 8-x}[/tex]