A bit complex than a similar question, below is a minimal example,
eqs1 = a b x'[t]^2 - ac x''[t] eqs2 = x''[t] - b x'[t] - c == 0 I want take x''[t] substitute in eqs1, where $eq1= a b \dot{x}^2- ac \ddot{x},~ eq2 = \ddot{x}-b\dot{x}-c$, the output should like $eq1 = ab\dot{x}^2 -ac(b\dot{x}+c)$.
I have try Simplify[eqs1, eqs2] but fails. Maybe I should use SubtractSides to let x''[t] in the left-hand?
If eq2 is very complicated, eg. eqs2 = x'[t] x''[t] - b x'[t] - c == 0, I think it's difficult substitute x''[t] of eq2 into eq1.
Any comments very much appreciate!

