How to tp an entity to a raycast

How can i tp and entiy to the end of a raycast
Continue to help post