This problem I can’t seem to figure out

Answer:
39 touchdowns and 13 fieldgoals
Step-by-step explanation:
Let t= touchdowns
f = fieldgoals
They scored 35 times
t+f = 35
Touchdown is 7 pts and fieldgoal is 3 pt
7t+3f = 193
Multiply the first equation by-7
-7t -7f =-245
Add this to the second equation
-7t -7f =-245
7t+3f = 193
----------------------
-4f =-52
Divide by -4
-4f/-4 = -52/-4
f = 13
Now we can find t
t+f = 35
t+13 = 52
Subtract 13 from each side
t+13-13 =52-13
t =39