To find the difference in profit between the two months (one month being a profit and the next a loss), you would use the expression:
6,400 - 4,700
This expression calculates the difference between the profit in the first month and the loss in the second month.