task 6 irregular triangle