A triangle has two sides measuring 5 units each and one side measuring 4 units. What is its perimeter?