this is rather extended comment ...
- this site is dedicated to
tex
problems
- as i can conclude you like to solve problem how to draw ellipse through four (arbitrary) vertices. this is math problem and is off-topic here
illustration how i understood your question:
mwe for above image:
\documentclass[border=3mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\usepackage{nccmath}
\begin{document}
\begin{tikzpicture}[scale=0.5,% for scaling coordinates of vertices
E/.style args = {#1/#2}{ellipse, draw,
minimum width=#1cm, % major length
minimum height=#2cm,% minor length
inner sep=0pt},
dot/.style = {circle, fill}
]
\node[E=24/10, rotate=0] {};
\node (a) [dot,
pin=225: {$\left(-\mfrac{52}{5},-\mfrac{39}{5}\right)$}] at (-52/5,-39/5) {};
\node (b) [dot,
pin= 45: {$\left( \mfrac{52}{5}, \mfrac{39}{5}\right)$}] at ( 52/5, 39/5) {};
\node (c) [dot,
pin=135: {$\left(-\mfrac{36}{5},-\mfrac{48}{5}\right)$}] at (-36/5, 48/5) {};
\node (d) [dot,
pin=315: {$\left( \mfrac{36}{5},-\mfrac{48}{5}\right)$}] at ( 36/5,-48/5) {};
%
\draw[red, dashed] (a) -- (d) -- (b) -- (c) -- (a);
% elipse 1
\node[E=24/10] {}; % <major length>/<minor length>
% elpise 2
\node[E=24/10, rotate=-9, dashed] {};
\end{tikzpicture}
\end{document}
when you have correct determined coordinates of vertices and calculated ellipse rotation angle (if needed), than you ask, how to draw such ellipse. basic idea, how can be ellipse drawn, is shown in above mwe.
sqrt((52/5)**2+(39/5)**2) = 13
and the small one issqrt((36/5)**2+(48/5)**2) = 12
and the main axis is rotated at 45°. So you have to do\fill[red,rotate=45] (0,0) ellipse (13 and 12);
.\node at ({52/5},{39/5}){$\left(\dfrac{52}{5},\dfrac{39}{5}\right )$};
. Is this really where you want to place these nodes?