triangle task solved