The square-shaped top indicates that there must be a 4-fold rotation axis perpendicular to the square shaped face.
So what is that going to be equal to? This is shown in the diagram.
The equation of the axis of symmetry is the equation of the vertical line passing through the x-intercept.