Equation

  The common denominator is t + 2. Multiple both sides by t + 2.

t + 7   
t + 2
  = - 4 +  
8t + 1   
t + 2

  (t + 2) 
t + 7   
t + 2
  = - 4(t + 2 ) + (t + 2) 
8t + 1   
t + 2

t + 7 = -4t - 8 + 8t + 1
t + 7 = 4t - 7
7 + 7 = 4t - t
14 = 3t
14/3 = t

return