def area_pentagon(a):
    import math
    return (math.sqrt(5 * (5 + 2 * math.sqrt(5))) / 4) * a * a