After the two capacitors are connected their charges must satisify
Q1 + Q2 = Q
Q1/C = Q2/2C
whre the first condition comes from charge conservation and the second comes from the fact that the potential drop across each capacitor is the same since they are connected in parallel. Solving for Q1 yields
Q1 = Q/3