There are 18 mathematics majors and 325 computer science majors at a college

There are 18 mathematics majors and 325 computer science majors at a college.

a) In how many ways can two representatives be picked so that one is a mathematics major and the other is a computer science major?
b) In how many ways can one representative be picked who is either a mathematics major or a computer science major?