Change the following polar equations into Cartesian equations:

(a) r = a sin 2 A

(b) A=π/4