Two questions A and B were given to 50 students in a class work .23 of them could answer only A but not B. 15 of them could answer B but not A.If 2x of them could answer none of the two questions and 2 could answer both questions

(a) represent the information in a Venn diagram
(b) find the value of x

(a) Here is a representation of the Venn diagram:

```
A
┌───────────┐
│ │
│ 2 │
┌─▼───────────▼─┐
23│ │15
│ A and not B │ B and not A
└───────────────┘
┌────────┐
│ │
│ x │
│ │
└────────┘
None
```

(b) To find the value of x, we need to determine the number of students who could answer both questions. In the diagram, this value is represented by the overlap region between A and B, which is given as 2.

Therefore, x = 2.