Out 400, 300 are offering mathematics and 190 are offering chemistry .how many students are offering both mathematics and chemistry. If only 70 student offering neither mathematics nor chemistry.

You want x such that

300+190 - x = 400-70