using a 5-variable karnaugh map, find the minimal pos for the boolean function,G(M,N,O,P,Q)=m(1,3,5,8,10,12,16,20,21,25)+d(0,4,7,28,30)

i draw two maps when M=0and M=1 separatly and i got:M=0:(M+N+Q)(M+O+P+Q)(M+N+Q) when M=1M+P)(M+N+Q)(M+N+Q)(M+N+O+Q)

then how can i combine these together to come up with the anwser?

thanks very much!