Merge output of two different subqueries into onto one in postgresql

I have two different queries which provide me the XML response as output. I want to merge the output of both queries into one single response. Below are the queries whose responses I want to be merged in postgresql.

Query 1: SELECT xmlforest(xmlforest(‘PPP Program’ AS promotionProgramName, coalesce(t.rus_id, 0) AS shipToId, CASE WHEN t.C_2021_PPP_PARA IS NOT NULL OR t.c_2021_ppp_vaccine = ‘2021 PPP Vaccine’ THEN ‘Enrolled’ ELSE ‘Not-Enrolled’ END AS participationStatus, ” AS participationStatusUpdateDate, xmlforest(‘2021_PPP_Parasiticide_Program’ AS "name", CASE WHEN t.C_2021_PPP_PARA IS NOT NULL THEN ‘True’ ELSE ‘False’ END AS requirementsMet, coalesce(t.YTD_2021_Qualifying_Carton_Purchased, 0) AS qualifyingPurchaseAmount, ‘Carton’ AS qualifyingPurchaseAmountType, CASE WHEN t.C_2021_PPP_PARA IS NOT NULL THEN ‘Active’ ELSE ‘In-Active’ END AS componentLevels, xmlforest(‘q1_parasiticide_carton_rebate’ AS "rewardName", CASE WHEN q1_parasiticide_carton_rebate IS NULL THEN CAST(0 AS VARCHAR) ELSE cast(coalesce(q1_parasiticide_carton_rebate, 0) AS VARCHAR(10)) END AS rewardAmount) AS "componentRewards") AS "programComponents", xmlforest(‘2021_PPP_Vaccine_Program’ AS "name", CASE WHEN C_2021_PPP_VACCINE = ‘2021 PPP Vaccine’ THEN ‘True’ ELSE ‘False’ END AS requirementsMet, coalesce(t.ytd_vaccine_sales, 0) AS qualifyingPurchaseAmount, ‘Dollar’ AS qualifyingPurchaseAmountType, CASE WHEN C_2021_PPP_VACCINE = ‘2021 PPP Vaccine’ THEN ‘Active’ ELSE ‘In-Active’ END AS componentStatus, xmlforest(‘CONTRACT_REQUIREMENT_Q1’ AS "name", coalesce(t.vaccine_requirement_q1, 0) AS targetAmount, CASE WHEN (coalesce(t.vaccine_requirement_q1, 0) – coalesce(t.vaccine_sales_q1, 0)) < 0 THEN 0 ELSE (coalesce(t.vaccine_requirement_q1, 0) – coalesce(t.vaccine_sales_q1, 0)) END AS achievedAmount) AS "componentLevels") AS "programComponents") AS "ProgramStatus") FROM temptable t LEFT JOIN ( SELECT * FROM view_programs_enrollment WHERE program_name LIKE ‘PPP%’ AND ( Participation_Start_Date IS NOT NULL OR participation_modify_date IS NOT NULL ) ORDER BY Participation_Start_Date DESC ,participation_modify_date DESC LIMIT 1 ) AS p ON t.rus_id = p.customer_location_id WHERE t.rus_id = ‘70192’;

Query-1 Output: PPP Program 70192 Enrolled 2021_PPP_Parasiticide_Program True 10 Carton Active q1_parasiticide_carton_rebate 6258777.90 2021_PPP_Vaccine_Program True 6608.6000000000 Dollar Active CONTRACT_REQUIREMENT_Q1 3750 0

Query-2: SELECT xmlforest(xmlforest(promotionProgramName, coalesce(cast(shiptoid AS VARCHAR), ”) AS shipToId, coalesce(Participation_Status, p.Participation_Status, ‘In-Active’) AS participationStatus, CAST(coalesce(p.participation_modify_date, p.Participation_Start_Date, NULL) AS DATE) AS participationStatusUpdateDate, xmlforest(‘Advance 2021 program’ AS name, CASE WHEN Participation_Status = ‘Enrolled’ THEN ‘True’ ELSE ‘False’ END AS requirementsMet, coalesce(advanceytdamt, 0) AS qualifyingPurchaseAmount, ‘Dollar’ AS qualifyingPurchaseAmountType, coalesce(currentlevel, ‘Level0’) AS componentStatus, xmlforest(level1 AS name, coalesce(cast(level1taget AS INT), 0) AS targetAmount, coalesce(Level1TagetRemaining, 0) AS achievedAmount) AS componentLevels) AS programComponents) AS ProgramStatus) FROM view_programs_enrollment p JOIN adavncedata ON adavncedata.shiptoid = p.customer_location_id WHERE p.program_name LIKE (‘Advance%’) AND p.customer_location_id = ‘70192’;

Query-2 Output: Advance 70192 NOT-ENROLLED Advance 2021 program False 0 Dollar 0 7% Rebate 2500 0

Expected Output: <CustomerProgramStatus_response> PPP Program 70192 Enrolled 2021_PPP_Parasiticide_Program True 10 Carton Active q1_parasiticide_carton_rebate 6258777.90 2021_PPP_Vaccine_Program True 6608.6000000000 Dollar Active CONTRACT_REQUIREMENT_Q1 3750 0 Advance 70192 NOT-ENROLLED Advance 2021 program False 0 Dollar 0 7% Rebate 2500 0 </CustomerProgramStatus_response>

Can Anyone help me with this?