I got b have a good day :)
Assuming the possible digits are from 0-9, there are 10*9*8 possibilities which come out to 720
180- 44= 136 = x
90-57=33 = y
107 - 27 = 80 = x
P = 57
That slope appears to be 4/6 or 2/3.
The perpendicular slope will have the opposite sign and be the reciprocal.
The perpedicular slope is –3/2.