In the one-dimensional case, we can write the following system for the first two moments:
\[\begin{cases} m_0 = a_0, \\ m_1 = a_0 x_0. \end{cases}\]
Below you can see the direct and inverse Prony map for this case.