Triangle fact solution