Easiest, I think, is to break it into two loans (both at $12\%$):
Loan $1$: borrow $1500$ for $8$ years, financing the interest. The total accumulated debt is then $$1500\times 1.12^8=3713.94$$
Of that, $1500$ is principle so this loan represents interest of $\fbox {2213.94}$
Loan $2$: borrow $\$1500$ for $4$ years (financing the interest payments). Pay the principle back at the end of the $4$ years BUT keep financing the interest for another $4$ years. We compute $$1500\times 1.12^4=2360.28$$ so when we repay the $1500$ we still have the accumulated interest of $860.28$. Of course we are still financing that so, four years later that interest has grown to $$860.28\times 1.12^4=\fbox {1353.67}$$
The final answer is the sum: $$2213.94+1353.67 = \fbox {3567.61}$$