Xpath - How to supply input parameters to get Value - I didn't see any proper Tutorials

Hi folks,
I would like to know how to use xpath( I saw few post in forum but there is no proper solution i fould)

  1. I have installed XPATH WEB SCRAPE
  2. im using this URL : (https://www.lelong.com.my/free-shipping-women-smart-watch-waterproof-fitness-tracker-smartwatch-sallymarket14-F1724947-2007-01-Sale-I.htm)
  3. xpath for getting product_name : (//h1[@class=‘main-title’])
  4. I gave output : product_name

I want to know how to get data in product_name

Thanks in Advance