Solved triangle exercise