Making a top-down car game (with Game Maker).

What I totally suck at, is physics/trigonometry.

Let the picture explain:

So, both cars are simple rectangular sprites (let's say 32x64px) and rotated about center point (origin) (xy on image).

At some point they collide. Not important which way, which point or what angle are they at. On picture, there's just a random example.

How to return this precise location where collision occurs?

Here's something to simplify this: Both cars have 4 corner points, and collision happening point is

**always** at one of those 8 points.

T-shaped or otherwise full edge-to-edge collisions do not count, or at least they are not important to me. All I need is at least one colliding point.

I imagine it can be solved by dividing them into triangles and using phytagoras' theorem or something, or it's some kind of newtonian physics that makes it simple, but I have no clear idea how.

Any kind of pseudocode or formula should do... can anyone help?