Asked question wrong last time.

New question with description of how to figure it out please.
What is the value of
3t+7 given -2t+1 =3

-2t+1 =3

-2t = 4
t = -2

3 (-2) + 7 = -6 + 7 = 1