How to bring differential equations to wanted value with DiffEqFlux?

Hello, could you please write an example of how should I set the function? I tried to focalize the problem with this post but I got no answer… Thank you