elliptical coordinates

We define elliptical coordinates as follows: r=\sqrt{x^2/a^2+y^2/b^2} and \varphi as in polar coordinates.
a) Find x, y as functions of r, \varphi.
b) Find the distance element ds^2