Matching Lines using slope intercept equations

Match the target (blue line) by adjusting the coefficient and constant term of the equation of the green line.