The general method is to take 'cases'.
I will list all the cases and you can easily work out the inequalities resulting from all the cases:
#1: Both are positive:
t + 2 + 3t - 1 < 5 =====> t < 1
#2: Left one positive, right one negative:
t + 2 + -(3t - 1) < 5 =====> t > -1
#3: Left one negative, right one positive:
-(t + 2) + 3t - 1 < 5 =====> t < 4
#4: Both are negative:
-(t + 2) + -(3t - 1) < 5 =====> t > -1.5
So we pick the domain that satisfies ALL of the conditions, which is -1 < t < 1.