A trust fund has been established for a girl aged 10 years old with a single payment that will entitle her a sum of RM27,000 when she reaches 21 years old. Calculate the amount of the single payment made if the rate of interest is 6% compounded semi-annually.