As the solenoids are identical, the currents in `Q` and `R` will be the same and will be half the current in `P`.The magnetic field within a solenoid is given by `B=mu_(0)ni`.Hence the field in `Q` will be equal to the field in `R` and will be half the field in `P` i.e., will be `2 T`.