So, you can write an expression to represent each person's age in terms of Joan's age.
J = J
T = 3 + J
C = J - 5
The sum of their ages is 193.
J + T + C = 193
J + (3 + J) + (J - 5) = 193
3J - 2 = 193
After you solve for J, substitute that value for all Js to find Tom and Carly's ages.
T = 3 + J
C = J - 5