How do you calculate parity?

Can you answer this question?