If we take the question to mean that the foci of the ellipse are also the foci of an hyperbola
, then we have for the ellipse
,a2−c2=b2
so, 25−c2=9 and that means c2=16.
This ellipse has its major axis on the x−axis.
For the hyperbola, which must have its transverse axis on the x−axis, the equation c2−a2=b2 and e=c/a=2.
Only the c value is he same as for the ellipse; c=4.
Thus 4/a=2 tells us that a (for the hyperbola) =2.
Therefore we compute b2=16−4=12.
The equation of the hyperbola is x2a2−y2b2=1; substituting give us x2−y212=1.