Find the values of m and c if the straight line y=mx+c passes through the point (-2,5) and has a gradient of 4.