If $p=\left\{ x:-3
If $p=\left\{ x:-3

As per the condition given in the question,

$p=\left\{ x:-3<x\le 7,x\in R \right\}$

So, $P=\left\{ -2,-1,0,1,2,3,4,5,6,7 \right\}$

Then, $Q=\left\{ x:-7\le x<3,x\in R \right\}$

$Q=\left\{ -7,-6,-5,-4,-3,-2,-1,0,1,2 \right\}$$P\cap Q=\left\{ -2,1,0,1,2,3,4,5,6,7 \right\}\cap \left\{ -7,-6,-5,-4,-3,-2,-1,0,1,2 \right\}=\left\{ -2,1-,0,1,2 \right\}$

$Q=\left\{ 3,4,5,6,7 \right\}$

$Q\cap P=\left\{ 3,4,5,6,7 \right\}\cap \left\{ -2,-1,0,1,2,3,4,5,6,7 \right\}=\left\{ 3,4,5,6,7 \right\}$