Answer
Not one-to-one.
Work Step by Step
Two different values of $x$: $x=2$ and $x=6$ map to the same $y=2$, which means that this function is not one to one.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.