Let A(8,7)
that means x = 8 and y = 7.
The vertical line (// to y-axis) passing through A, will have always x = 8,
Then the equation of the vertical line is x = 8
The Horizontal line (// to x-axis) passing through A, will have always y = 7,
Then the equation of the Horizontal line is y = 7