```python
import math

def area_pentagon(a):
    """
    Calculates the area of a regular pentagon given its side length 'a'.
    """
    # The formula for the area of a regular pentagon is:
    # Area = (1/4) * sqrt(5 * (5 + 2 * sqrt(5))) * a^2
    
    # Calculate the part of the formula inside the square root
    inner_calculation = 5 * (5 + 2 * math.sqrt(5))
    
    # Calculate the full area
    area = 0.25 * math.sqrt(inner_calculation) * (a ** 2)
    
    return area

```