Get Distance Between Two Points?

Hi, thanks for taking the time to reply.

Indonunserstand the maths of it, but in this specific case, how am I obtaining location 1 and location 2.

Location 1 can be the spawned item, and it can be from its transform location, but this then needs to be calculated directly downwards into anything it directly below it, and not to the transform of the thing it hits, but the point of impact so to speak.