I had this question that seems to be complicated for me..... I m confused coz I cant figure which formula I got to use here..... It would be really good if someone solves this for me..... All help is appreciated!!

The question is :

g is a linear function such that g(-2)=2.8 and g(3)= -5.1

Find a formula for g(x).