4784xp to level 31
Gain is 3k + 3.1k = 6.1k
Cost is 3.8k
Profit is 2.3k
2.3k/4784 = rate of return of 0.48077
(Note that for the first time, this is LESS than the level before it. I'm going to calculate up to level 40 though because that'll jump the profits by another 1k, so just in case.
But for now, indications are that it becomes less efficient to continuing a knuffel past level 30 if all you're doing is giving it up for adoption and readopting it again; it becomes more efficient to start over with another knuffel.)
I might have to redo these with only a single-time cost of a knuffel (1.9k instead of 3.8k, which assumes you give it up and DON'T readopt it) to see if that changes things.