The Inverse Problem for Euler's Equation on Two and Three Dimensional Lie Groups