Check whether the point (b,a) lies on the straight line ax+by–ab=0.
Check whether the point P(3,2) lies inside or outside of the ellipse ;x12a2+y12b2−1=0