Find a formula for the linear function whose graph intersects the graph of

at and .