Answer:
Option D is correct.
The length of AB =
units.
Step-by-step explanation:
Use Distance(D) formula for two points (x_1 ,y_1) and (x_2 ,y_2) is given by:

From the given figure in triangle ABC, A =(4,5) and B= (2,2),
then by using distance formula, we have;
AB =

AB=
or
AB=

or
AB=
=

Therefore, the length of AB =
unit.