easy:

with
FirstCTE as (select ...)
,
SecondCTE as (select ... from FirstCTE ...)
[, ...]

select * from SecondCTE