Which of the following is the equation for determining net profit or loss from the…