Eight first class and six second class petty officers are on the board of the 56 club. In how many ways can the members elect, from the board, a president, a vice-president, a secretary, and a treasurer if the president and secretary must be first class petty officers and the vice-president and treasurer must be second class petty officers?

also.. the second question is

For the preceding example, suppose we are asked the following: In how many ways can the members elect the office holders from the board if two of the office holders must be first class petty officers and two of the office holders must be second class petty officers?