def preparation_time_in_minutes(layers):
    """Calculate prep time

    :parm layers: Number of layers in the cake
    :return: int Total number of minutes to prepare the cake
    """

    return 2 * layers