So I've been having trouble solving some problems.

Mainly problems that look like this
5-(t+3)=-1+2(t-3)
what causes problems is the 5- part.
I asked my teacher for help, and he gave me a hint, which is to distribute a -1 like 5+(-1)(t)+(-1)(3)
But I still don't get it?
Can someone explain how to do this, or show me the steps?

Sure, I can help you with this problem. Let's go step by step.

The equation you have is: 5 - (t + 3) = -1 + 2(t - 3)

To solve this equation, you'll need to distribute the -1 inside the parentheses. Distributing means multiplying each term inside the parentheses by the -1.

So, let's distribute the -1 to (t + 3):

-1 * t = -t
-1 * 3 = -3

Now our equation becomes: 5 - t - 3 = -1 + 2(t - 3)

Combine the like terms on both sides:

5 - 3 - t = -1 + 2t - 6

Simplify further:

2 - t = -7 + 2t

To isolate the variable t, let's move all the terms involving t to one side and the constant terms to the other side.

First, let's move the term -t to the right side by adding t to both sides:

2 = -7 + 3t

Now, let's move the constant term -7 to the left side by adding 7 to both sides:

2 + 7 = 3t

Combine the terms:

9 = 3t

Finally, divide both sides by 3 to solve for t:

9/3 = t

Simplify:

t = 3

So, the solution to the equation is t = 3.