y=mx+b for friendships