I have a census that is formatted strangely:

Currently, we have an employee followed by a dependent, their relationship, and DOB. This pattern just repeats if there are multiple dependents. I'm trying to get this table like this:

With each dependent having their own row of information (including the employee they are a dependent of). Any ideas on the most effective way to achieve this?
Thank you!