Study the given data and answer the question that follows.
If x is the lower limit of the median class and y is the upper limit of the modal class, then the value of (3x + 2y) is:
| Marks | 0 to 10 | 10 to 20 | 20 to 30 | 30 to 40 | 40 to 50 |
| Number of students | 3 | 18 | 5 | 7 | 16 |