Here is code that will do it
dtx = dte << Join(
	With( dtf ),
	By Matching Column( :Y = :Y ),
	Preserve main table order( 1 ),
	output table( "Joined Table" )
);
dtx << delete columns( {"Y of Untitle 50", "Y of Untitled 51"} );
If you used the "Merge Same Name Columns element in the Join Platform, you can simplify the delete code
dtx = dte << Join(
	With( dtf ),
	By Matching Column( :Y = :Y ),
	Preserve main table order( 1 ),
	output table( "Joined Table" ),
	Merge same name columns(1)
);
dtx << delete columns( {"Y"} );
					
				
			
			
				
	Jim