x - 42 is a straight vertical line passing through -42 on the x-axis ( point -42,0)
so the slope is infinite .
Another line with same slope and parallel to it would be x = 36.
A horizontal like with slope 0 is perpendicular to it It would have equation y any number so y = 6 would be an example.