Using voice commands for capturing photos allows you to easily get your desired shots.
Capturing photos with voice commands on Huawei Y3 2017 is as follows:
Step 1: Access the 'Camera'.

Access the 'Camera' app.
Step 2: Select the triple dash icon.

Select the triple dash icon.
Step 3: Choose 'Settings'.

Choose 'Settings'.
Step 4: Select 'Sound Control'.

Select 'Sound Control'.
Step 5: Choose 'Say Cheese to take a photo'.

Select 'Say Cheese to take a photo'.
That concludes your setup process. Wishing you all the best.
