If we consider the following differential equation $$ a_0x + a_1\dot{x} + a_2\ddot{x} + \ldots + a_n x^{(n)} = b_0y+b_1\dot{y} b_2\ddot{y} + \ldots + b_m y^{(m)} \ , $$ my text first substitutes the ansatz $x(t) = e^{st}$, after which the solution for $y(t)$ seems to be given by $$ y(t) = \frac{a_0+a_1s+a_2s^2+\ldots+a_ns^n}{b_0+b_1s+b_2 s^2+\ldots+b_ms^m}e^{st} \ . $$
I'm having trouble seeing how we arrive at the given solution for $y(t)$. How would one show that this is indeed a solution for $y$ given $x(t) = e^{st}$?
After we substituted for $x(t)$, I'd first look for a homogeneous solution in $y$. Then I would add up a particular solution but, this doesn't seem to yield the required coefficients of our given solution that easily.
Plugging in our given solution for $y$, to see if it satisfies the ODE doesn't seem that instructive either, since the coefficients make it a huge mess.
Context
The given ODE describes a linear time-invariant system that transforms an input signal $x(t)$ in to an output signal $y(t)$. $H(s) = \frac{a_0+a_1s+a_2s^2+\ldots+a_ns^n}{b_0+b_1s+b_2 s^2+\ldots+b_ms^m}$ is called the transfer function of the system.