it is imposible to use the distance comand
Let me take a guess: you're using one of the apps, perhaps the Graphing Calculator. See the comparison of the apps to use an app that includes geometric commands and tools e.g. the Suite app:
Comments have been locked on this page!