If you measure a ant walking 12 centimeters to the right then the ant turns, to the left 5 centimeters how many he walked.. You think?

I have to show my work on a broken ruler!!! Thanks

Need answer ASAP!!