Help please motorola g7 running android 10 want to install lineage

hi m999 I am at the stage where I need to access the device ID.

I am following the advice and steps on Login| Motorola Support US

TO GET YOUR DEVICE ID

  1. Put your device in fastboot mode (press the power button and volume down button at the same time and connect your device to your computer with a USB cable).

  2. On your computer, open a command prompt or Terminal session.

  3. Go to the Directory where you installed the Android SDK tools, and type:$ fastboot oem get_unlock_data

  4. This fastboot command will return a character string. This is the Device ID which you will be using to generate your unique unlock key.

    Example Device ID (PC User)$ fastboot oem get_unlock_data
    (bootloader) 0A40040192024205#4C4D3556313230
    (bootloader) 30373731363031303332323239#BD00
    (bootloader) 8A672BA4746C2CE02328A2AC0C39F95
    (bootloader) 1A3E5#1F53280002000000000000000
    (bootloader) 0000000

I need some help with no 2 &3 as I dont understand where it says go to the directory whre you installed the android sdk tools and type:

also it is possible to use the android device id app?

https://www.youtube.com/watch?v=y3ezcVDoK9A

THanks!!