The sum of two numbers is 40 and the difference of these numbers is 14. Write a system of equations to represent this scenario and solve it by elimination. What are the two numbers?