Using the solution proposed in this answer, you join miltiple ranges or dynamic array formulas with this formula, replacing YOUR_RANGES with the ranges or formulas you wish to join:
=FILTERXML("<A><B>" & TEXTJOIN("</B><B>",TRUE,YOUR_RANGES) & "</B></A>", "//B")
In your case, you can split the filter to get only column A in the first result column, and only column B for the second result column:
RESULT SHEET A1 CELL:
=FILTERXML("<A><B>" & TEXTJOIN("</B><B>",TRUE, FILTER(A5:A14,$A5:$A14>5); FILTER(Sheet2!A5:A14,Sheet2!$A5:$A14>8) ) & "</B></A>", "//B")
RESULT SHEET B1 CELL:
=FILTERXML("<A><B>" & TEXTJOIN("</B><B>",TRUE, FILTER(B5:B14,$A5:$A14>5); FILTER(Sheet2!B5:B14,Sheet2!$A5:$A14>8) ) & "</B></A>", "//B")
This will join the 2 filters, one beneath the other, although each column will have a separate dynamic array.