Matching object rotation with rotational offset?

I’m stuck on the same issue years later, did you ever figure it out?