Parallel function solver

Given a point A(x,y) and a slope, find the parallel function who pass at the given point.

input function:
y=  y =\;   x\;x
input point:
P(P\, (|))