find the perimeter of traingle