linear equations to shoot zombies