The Help menu in Numbers is a good place to start.

This is from an older version than the one you are using, but the menu items may be the same. The highlighted menu item is an excellent introduction to formulas and the functions that can be used in their construction. The link, in my installed version of Numbers, is to a document that lists and discusses only the functions as of 2019. Yours may go to an updated document.
A second excellent resource is the Functions Browser, which opens whenever you select a cell and type =.
The browser lists all functions supported in Numbers, gives a description of the function, the syntax of a formula using the function, and at least one example of a formula constructed with that function, and an examply of where it might be used in a spreadsheet.
The core formulas used in my examples above are pretty basic ones. The only 'esoteric' part is the switch that keeps cells 'blank' until there is a result to calculate.
Badunit's version and mine do the same job—preventing the calculation until there is data entered in a cell needed to complete the calculation.
**: Cell C1 =IF(B1<>"",A1-B1,"") 'if B1 is not 'empty', do this, otherwise, place a null string.'
Barry: IF(B2="","",A2-B2) 'if B2 is 'empty', place a null string, otherwise, do this.'
I prefer 'my' version only because it lets me wrap the core formula with only the closing parenthesis following that core part.
Regards,
Barry