The number of shirts sold by an online seller is given by the expression (2d + 15) pieces. The price per shirt is given by the expression (d² - 2d + 12)pesos. Where d is the number of days spent to sell online. Find the total amount of revenue earned by the shopkeeper by selling the shirts in terms of d.