Silver bromide on exposing to sunlight, decomposes to silver metal and bromine gas.
Silver bromide--Is a salt sensitive to sunlight.
Bromine gas --Brown colour gas.
Silver - Is greyish colour metal
reaction:
AgBr(s)----> Ag(s) + Br2 (g)
So, X- AgBr
Y--Ag
Z- Bromine gas
I Hope this will help.