Use the distance formula, aka the Pythagorean Theorem:
Basic algebra leads to a quadratic equation that does not factor, so the answers are ugly irrational numbers.
You can do the work to find them.
(Or check to see if you have posted the problem correctly; this kind of problem, as a learning exercise, would usually have rational numbers for answers.)