Solve this math problem

Solve 178 - 5047 = 131*t + 1288 for t.
-47