Show that if the function f is continuous on an interval and assumes no values more than once, then it is strictly monotone there.

My proof is in the attachment, it is not finish, but would you please check to see if I have the right idea?

Thank you.