So the value of z is 10.
look at the attached picture
Hope it will help you
Good luck on your assignment