Add solution: Triangle