Man gets 12 years for setting teen ablaze