I was having trouble with the following questions:

1)Find how many code words of three or four letters can be made from the letters of the word NUMBER:

a)if the letters can be re-used

2) A student has the choice of three mathematics subjects and four science subjects. In how many ways can they choose to study one mathematics and two science subjects?