I think the slope of f is -10 and g is -1 but I can't figure out how to perform equations with the information I was given

I think the slope of f is 10 and g is 1 but I cant figure out how to perform equations with the information I was given class=