An equilateral triangle has three sides of equal length. Function P gives the perimeter of an equilateral triangle of side length s.