No, we don't want to prevent you form learning- you learn by doing, not by watching someone else do it for you .
I will do this: suppose f:R->R is defined by f(x)= 3x- 4. To prove that f is injective ("one-to-one") we need to prove "if f(x1)= f(x2) then x1= x2. Okay, for this particular f, f(x1)= 3x1- 4 and f(x2)= 3x2- 4 so f(x1)= f(x2) means 3x1- 4= 3x2- 4. Adding 4 to both sides of the equation gives 3x1= 3x2 and then dividing both sides by 3, x1= x2, exactly what we needed to prove. To prove f is surjective ("onto"), let y be any real number. We need to prove that there must exist x such that f(x)= y. f(x)= 3x- 4= y so, again adding 4 to both sides, 3x= y+ 4 and then dividing by 3, x= (y+4)/3. For any real number y, that is still a real number. Since every number in R is f(x) for some x, f is surjective.
Now, can you tell me why g: R-> R, defined by g(x)= x2, can you tell me g is not injective and is not surjective?
Can you tell me why h:R to the non-negative real numbers, defined by h(x)= x2, is not injective but is surjective?
What about j(x)= x2, from non-negative real numbers to all real numbers?
What about k(x)= x2, from non-negative real numbers to non-negative real numbers?