Let mp = marginal product, p = output price, and w = wage, then the equation that represents a situation where a competitive firm should lay off some workers to maximize profits is