Solve the equation: $m^2=10 m-16$
A$m=8$ and $m=2$
B$m=-8$ and $m=-2$
C$m=4$
D$m=-4$ and $m=4$
A$m=8$ and $m=2$
B$m=-8$ and $m=-2$
C$m=4$
D$m=-4$ and $m=4$