We have a piecewise function
if the value of x is less than zero the function will be 7x-10
if the value of x is equal to or greater than zero the function will be 7x-20
for the case x=-1, we will use 7x-10
for case x=0, we will use 7x-20
for case x=2, we will use 7x-20