#old exam problem
x,y = var('x y')
G=plot_slope_field(x+1, (x,-5,5), (y,-5,5),plot_points=11)
for m in range(-5,6):
for n in range(-5,6):
v=m+1
G+=text(r'$'+str(v)+'$',(m+0.3,n+0.3),color="black")
G+=point((-4,4),size=100,color="black")
G+=point((-3,1),size=100,color="black")
G+=point((-2,-1),size=100,color="black")
G+=line([(-4,4),(-3,1)],color="black",thickness=2)
G+=line([(-3,1),(-2,-1)],color="black",thickness=2)
G.show(gridlines=[[-5,-4,-3,-2,-1,0,1,2,3,4,5],[-5,-4,-3,-2,-1,0,1,2,3,4,5]],aspect_ratio=1,ticks=[1,1],fontsize=13)