#Heather Stafford
#1/19/18
#slope.py

x1 = int(input('x1 ='))
y1 = int(input('y1 ='))
x2 = int(input('x2 ='))
y2 = int(input('y2 ='))
slope = (y2-y1)/(x2-x1)
print('The slope is',slope)
print('The equation of the line is Y = ',slope,'X + 2.0')