Hi,
The registration threshold comprises your taxable turnover over a rolling 12 month period.
If you have a cleaning business and you subcontract your work out, then they will be making a supply to you of £12. You will then be making a supply of £18 to your customer and so £18 is your taxable turnover.
You can find further guidance here:
Who should register for VAT (VAT Notice 700/1)
Thank you.