While Akira was visiting her sister in Weston, she bought a toy rocket that was marked down 50% from an original price of $40. If the sales tax in Weston is 5%, what was the total cost of the toy rocket?