An actor invests some money at 5​% simple​ interest, and ​$21 comma 000 more than three times the amount at 6 %. The total annual interest earned from the investment was ​$29 comma 550. How much did he invest at each​ amount?