The function g is defined by g(x)=5x−c, where c is a constant. If g(3)=12, what is the value of c?
3
5
7
12