I found out from the PicoZed 7015_7030_User's Guide that the 1st and 2nd pins of JX2 are basically MIO 10 and 13 respectively.
Now the zynq_gpio basically starts from gpiochip906 that is the 0th pin of gpio is at position 906, and as i want to access the 10th pin that is JX2.1, so I used the following commands in the linux terminal.