How to write the xpath of an element with out using firepath
That calls for an extensive tutorial on toolsqa.com. Meanwhile you can go through this http://www.toolsqa.com/selenium-webdriver/choosing-effective-xpath/
It has quite some information that you need.
I will keep you posted as we complete our tutorial.