It’s tough to tell from your pics, but things look like they’re really close to lining up where they should.
Have you tried rotating the flexplate (engine) over slightly by hand to get the gears aligned? I would start by doing that and then see if the starter gear will mesh with the flexplate by gently prying back on it with a straight blade screwdriver. If you have contact between the flexplate and starter gears, you need shims. The shims usually come with the starter. What you’re looking for is the width of a paper clip in between the gears when they’re meshed.
Do this and report back to us. I just recently installed nearly the identical one in my car, so it’s all fairly fresh in my mind and I should be able to help you out.