\[ A_{tot} = \left( B \times H - (n_1 \times A_1) - (n_2 \times A_2) \right) \times (1 + w) \]
Where: