How to do calculations and print in the app

I’m trying to make an app that calculates total revenue and expenditure and the difference between the two.
I put the formulas on Google Sheets and it didn’t work.
Help me please

Use the Glide-supported math formulas in the Data tab (create a new column) for faster speed. What is the calculation? How complex is it?

If you want to use a Calc in a multiuser App without using Google Sheets (faster speed), you’ll need to see/use what I created days ago

But if your case in simpler, the @sardamit recomendation is the way to go.