We use inequalities between rational numbers to determine Diophantine solutions to a large class of systems of two linear functions of any number of terms equal first to powers and second to exponentials of positive integers.