Study the circuit shown in which two resistors X and Y of resistances 3 Ω and 6 Ω
respectively are joined in series with a battery of 2V.
Draw a circuit diagram showing the above two resistors X and Y joined in parallel with same battery and same ammeter and voltmeter. 
In a series circuit, the current remains the same throughout, but in a parallel circuit, the potential difference across each component is identical.

In this case, we would rearrange the resistors into a parallel combination and ensure the same battery is connected along with the ammeter and voltmeter. The circuit diagram for the parallel combination is shown below:


The following data shows the number of family members living in different bungalows of a locality: 
 
| Number of Members | 0−2 | 2−4 | 4−6 | 6−8 | 8−10 | Total | 
|---|---|---|---|---|---|---|
| Number of Bungalows | 10 | p | 60 | q | 5 | 120 | 
If the median number of members is found to be 5, find the values of p and q.