Problem Statement
Solve for x: 3x + 2y = 12 and 5x − y = 7.
Explanation
From 5x − y = 7 ⇒ multiply by 2: 10x − 2y = 14. Add with 3x + 2y = 12 ⇒ 13x = 26 ⇒ x = 2.
Code Solution
SolutionRead Only
2*(5x−y)=10x−2y; add ⇒ (3x+2y)+(10x−2y)=12+14
Get the Preplance app for a seamless learning experience. Practice offline, get daily streaks, and stay ahead with real-time interview updates.
Get it on
Google Play
4.9/5 Rating on Store
Aptitude & Reasoning · Interview Question
Detailed answer, explanation and code for this interview question. Ideal for Aptitude & Reasoning interview preparation, coding rounds and viva questions.
Solve for x: 3x + 2y = 12 and 5x − y = 7.
2*(5x−y)=10x−2y; add ⇒ (3x+2y)+(10x−2y)=12+14

Master Aptitude & Reasoning with our complete collection of questions, tutorials and guides.