Text this: Towards tree Yang-Mills and Yang-Mills-scalar amplitudes with higher-derivative interactions