i’ll try to break it down for u so u can understand a little better.
the horizontal line is X and the vertical line is Y.
if u start in the middle going horizontally to the right u can find X and X will = 2
to find Y u need to start in the middle and count upwards until you find where the lines meet to create a point. Y = 1
X/Y = 2/1 which can simplify to 2
But since the line is going from left to right and going downwards it is negative hope this helped :)