By definition, I know I have to show there exists a $1$-$1$ onto map $f:A\to B$ I am pretty stuck on how to go to the process of proving this.
I understand the basic definitions of 1-1 and onto. I recall basic definitions of $1$-$1$ and onto from high school, I know a function is $1$-$1$ if it passes the horizontal and vertical line test and a function is onto if for all $Y$ there exists an $x$ in $X$ such that $f(x) = y$, but I am really not sure how to go about proving this at all. Could someone maybe point me in the direction of an example to help me understand each step in the process?