I think it’s the following, but I would need to do a trig check to be sure.
You have moved 6 nm from left to right, in a distance of 30nm. In other words your actual track is 12 degrees to the right of the desired track.
So, to turn parallel to your track you need a left turn of 12 degrees.
Now you need to regain the 2nm right of track in the next 20 nm, (or 6nm in 60nm), so that's a correction of 6 degrees to the left of the desired track.
So its 12 degrees plus 6 degrees, 18 degrees to the left.
Apologies if this is wrong and someone else can tell you better.
Please don't name your child GroundBound, I'd hate to condemn a poor kid to that for the rest of his/her life.