That is engineering math -Statistic which I've done that in year 2 but had already forgotten all that....
Hahahaha...I remember seeing that in my 1st year cal class but man...I didn't study hard for that at all...It was the last thing we learnt n' I assumed that it was not gonna be on the exam and I was right...So I don't remember how to do it at all...Good Luck dude!