Parameters in CNN

in the cnn example under week 1 of convolutional neural networks, what is the formula for the parameters or how did the number of the parameters come about

Okay i saw the corrections in the next slide, Thanks