NYC teen gets 5-year term for subway arson