Hi Nancy,
This is not easy to answer in the Q&A.
Have you had a look at the following Kwiziq lesson? -
Y can replace à + thing / object / location (adverbial pronoun)
Also, you might find this answer to a similar question useful?
https://kwiziq.learnfrenchwithalexa.com/questions/view/y-vs-en
Hope this helps!