For the first 3% of Hanna's salary, her employer matches 100% of her 401(k) contributions, and from 3% to 12%, Hanna's employer matches 50% of her 401(k) contributions. Hanna's salary is $40,000, and last year, she contributed $5000 to her 401(k) plan. What was her employer's contribution to the 401(k)?