The demand for labor by a profit-maximizing firm is determined by