Why are some outlets not working in two bedrooms?
It is probably broken wire or bad connection at a back stab that feeds the chain of outlets. The problem is at the last working outlet (closest to the breakers usually) or the first non working outlet. Figure out this location and turn the breaker off, pull the outlet look for a loose or broken wire it could be either the black or white,  if back stabs were used into the outlet many times the insulation will be melted back at the bad connection, when found replace the outlet and don't use the back stabs pigtail and or use the screw terminals. I have repaired hundreds of these failures and 98% of the time it is a loose backstab connection in the outlet. If you pull the 2 outlets and don't find anything but the other outlets now work , get 2 new outlets and replace those because this will happen again when a good load like a vacuum is plugged in.