The distances described in this Section shall be computed along the shortest path between the demarcation points that can be lawfully traveled by foot as follows: in the case of a freestanding marijuana facility, the distance between the facility and the school, daycare, church, or other marijuana facility shall be measured from the external wall of the marijuana facility structure closest in proximity to the school, daycare, church, or other marijuana facility to the closest point of the property line of the school, daycare, church, or other marijuana facility. If the school, daycare, church, or other marijuana facility is part of a larger structure, such as an office building or strip mall, the distance shall be measured to the entrance or exit of the school, daycare, church, or other marijuana facility closest in proximity to the marijuana facility at issue. In the case of a facility that is part of a larger structure, such as an office building or strip mall, the distance between the facility and the school, daycare, church, or other marijuana facility shall be measured from the property line of the school, daycare, church, or other marijuana facility to the facility's entrance or exit closest in proximity to the school, daycare, church, or other marijuana facility. If the school, daycare, church, or other marijuana facility is part of a larger structure, such as an office building or strip mall, the distance shall be measured to the entrance or exit of the school, daycare, church, or other marijuana facility closest in proximity to the facility at issue.