[tex]7a+16b=94 \\ 94=numar~par \\ 16b=numar~par \\ =\ \textgreater \ ~~7a~trebuie ~sa~fie~numar~par. \\ =\ \textgreater \ ~~a~~trebuie~sa~fie~numar~prim~dar~si~numar~par. \\ Singurul~numar~prim~care~este~par,~este~~2. \\ =\ \textgreater \ ~~ a = \boxed{2} \\ 7 \times 2 + 16b=94 \\ 14 + 16b=94 \\ 16b=94-14 \\ 16b=80 \\ b= \frac{80}{16} =\boxed{5}[/tex]