I won't waste your time asking for the formula for a trailing gravity field following a moving mass in 3 dimensions.
My son is the expert with a PhD in physics. I'm the (ahem) light-weight.