How to calculate matrix values

Sakshi Ghodki's image