First we have to obtain what's the interest of both:
Where s is the interest (simple), i is the interest rate (per year), P is the principal amount and n is the term of the loan in years.
For both loans the principal amount is the same P = $215.76
Then, the bank has an interest rate of 18%, so i = 0.18 and the loan is for 24 months, n = 2
For the insurance company, the interest rate is 12%, i = 0.12 and the term of the loan is 36 months n = 3
The bank loan will cost him less than the insurance company loan