If each row contains 15 chairs and there are 21 rows, the total number of chairs in the library can be found by multiplying the number of chairs per row by the number of rows.
Number of chairs per row = 15
Number of rows = 21
Total chairs = Number of chairs per row × Number of rows
Total chairs = 15 × 21
Total chairs = 315
Therefore, Mr. B had to arrange 315 chairs for the meeting in the library.