Write a formula for a linear function f whose graph satisfie…