An ellipse has a centre (0,0) and vertices on the x-axis. The minor axis has a length of 8 and the major axis has a length of 18. Find the equation of the ellipse.