an ellipse has eccentricity 1/2 and a focus at the point p(1/2,1).One of its directrix is the common tangent near to the point P to the circle x^2+y^2=1 and hyperbola x^2-y^2=1 the equation of ellipse is

i have drawn figure but unable to proceed further