The length of the bulletin board can be determined as,
The total length of the p number of papers should be less than or equal to the length of the card board,
The total height of the p number of papers should be less than or equal to the the height of the card board,
Thus, the above two inequalities is the required solution.