Solved new task with triangle Perimeter