The table-value constructor inside a CTE is a bit tricky because SQL syntax doesn’t directly support it in the way you’re attempting.
The best way to do this is to explicitly define column names within the VALUES clause itself inside the WITH statement.
Here’s the correct way to write your query: https://runsql.com/r/7f9d71d458eb7adf
Notice that the alias t (e, f) must be explicitly added after the VALUES clause inside the SELECT * FROM subquery.