Hello! I was wondering if I could get some help with this statistics problem!

In short, there was a prostate cancer study that took place from 1989 to 2000. There were 2 groups created out of 695 men diagnosed with prostate cancer. 348 men were in the control group, "watch and wait" while the other 347 men had "radical prostatecomies". The results of the study were as follows in the table.

died of prostate cancer died of all causes combined watch and wait 31 62 radical prostatecomy 16 53

Using the Z-test, test the null hypothesis of no difference between the proportions for death due to prostate cancer.

I have the equation for the Z-test, but I'm a little confused as to how to apply it to this problem. Thanks in advance for the help!