That would be the officer on the (screen) right. The officer on the (screen) left, who was closer to the shooter, was firing two-handed. I'd estimate that he was maybe eight feet away when he started shooting, and probably six feet away when the shooter fell to the ground.
The second oficer, the one who moved toward screen right, increased his distance from the shooter but he never approached 40 feet away, or even 30 feet. Maybe 20 feet by the end of the active shooting.
Even with that, the two cops together managed to put 3 rounds in the shooter and 13 rounds ... elsewhere. That's an 18.75 percent hit rate, which is rather abysmal. The closer guy should have put all of however may round he fired into the target.
People hunch over when going into combat stances, and I think a fair estimate of height to be about 5 feet, give or take a few inches.
The planters on the sidewalk are about 3 feet in diameter.
The left officer is 2 body lengths away from the shooter, so about 10 feet. Also confirmed by being about 3 planters distant.
The right officer starts out at least 3 body lengths away, maybe even 4. He's at least 2 planter-diameters further back than his partner, maybe even 3. He then bee-lines at a right angle away from the shooter and his partner, 3 body lengths sideways. a^2 + b^2 = c^2 in a right triangle, so 16 + 9 = 25. sqrt(25) = 5. A classic 3-4-5 triangle. 5 body lengths, so 25 feet or so.
So, maybe not 40 feet like I initially suggested. But well over 20 and maybe closer to 30.