Option (B) is correct.
Explanation:
Follow the number through the machines one step at a time.
Machine 1 doubles and adds 3, so its output is 2x+3.
Machine 2 first subtracts 5 from this:
(2x+3)−5=2x−2
Then it multiplies the whole result by 4:
4(2x−2)=8x−8
So the two machines together act like a single machine with output 8x−8.
Check with x=6: Machine 1 gives 2×6+3=15; Machine 2 gives (15−5)×4=40; and 8×6−8=40.
Why the other options are wrong
- (A) 8x+12=4(2x+3) multiplies Machine 1's output by 4 but forgets to subtract 5 first. For x=6 it gives 60, not 40.
- (C) 2x−2 is the result after subtracting 5, before Machine 2 multiplies by 4. For x=6 it gives 10.
- (D) 8x−2 multiplies only the 2x by 4 and leaves the −2 alone. The 4 multiplies the whole of 2x−2. For x=6 it gives 46.