Connecting your smartphone to display images on your TV is incredibly easy. You can effortlessly share images on the large screen of your TV through Miracast (Screen Mirroring).
Mirroring your Huawei Y7 Prime screen to your TV is as follows:
Step 1: Go to 'Settings' and select 'Smart Assistance'.

Go to 'Settings' and choose 'Smart Assistance'.
Step 2: Select 'Mirror Share'.

Select 'Mirror Share'.
Step 3: Connect to the detected device.

Connect to the discovered device.
That completes your setup process. Wishing you all success.