How to subtract 2 variable?

You have to show the code so we understand what is happening. Always share the error you get when seeking help.

Read Requesting Help and share more information about your issue.