How can I draw between two specific coordinates? Cord are (1,0) and (5,0)
\documentclass{article}
\usepackage[margin=1.5cm,top=1cm,headheight=16pt,headsep=0.1in,heightrounded]{geometry}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,shapes,positioning,intersections,quotes}
\usetikzlibrary{positioning} % <---
\begin{document}
\begin{tikzpicture}
%\path[name path=t] (1,0) to[out=90,in=180] (2,1) to[out=0,in=90] (3,0); % top arc
\draw[blue] (0,0)--++(0,1);
\draw[red] (0,1)--++(6,0);
\draw[yellow] (6,1)--(6,0);
\draw[green] (0,0)--(1,0);
\draw[orange] (6,0)--++(-1,0);
\draw[magenta] (1,0) arc
[
start angle=160,
end angle=20,
x radius=2cm,
y radius =0.5cm
] ;
\end{tikzpicture}
\end{document}
(0,1) to [bend left] (5,0)