$$ p=5n-(3n+k) $$
The profit \(p\), in dollars, from selling \(n\) units of a certain product is given by the equation above, where \(k\) is a constant. If 500 units are produced and sold for a profit of $625, what is the value of \(k\)?