I am going to give you a gift: doing the work I asked you to do, since you at least did part of it.
Here are your
definitions of four variables, slightly improved:
Wa = litres per hour for pipe A
Wb = litres per hour for pipe B
x = hrs pipe B was opened in first scenario.
y = litres delivered by pipe B in x hrs
The last definition immediately implies one of your equations:
Wb x = y
But in the course of your work, you introduce a fifth variable, k, that isn't clearly defined, except that
"y + k liters is the amt filled up [i.e. delivered by the second pipe in scenario 2]"
Here are the statements in the problem, each followed by the
equation you wrote for it:
Scenario 1: A tank of 425 litres capacity has been filled with water through two pipes, the first pipe having been opened five hours longer than the second.
Wa ( x + 5) + Wb x = 425
Scenario 2: If the first pipe were open as long as the second [was actually open], and the second pipe was open as long as the first pipe was [actually] open, then the first pipe would deliver half the amount of water delivered by the second pipe;
[I've added words to clarify this, which is very awkward]
Wb ( x + 5) = (y + k)
Wa * x = (y + k) /2
Scenario 3: if the two pipes were open simultaneously, the tank would be filled up in 17 hours.
(Wa + Wb) * 17 = 425
How long was the second pipe open?
Solve for x.
We do appear to have five equations for the five unknowns; I'm not looking at your solving work yet at all, just trying to do for you what I asked you to do, which was to
state all your equations first, before starting to solve them. This allows me to check that they all make sense. They do, now that I have put them in order.
Now you need to solve. If I were doing this, I would be trying to eliminate variables, one by one. Clearly we can eliminate y by replacing it with Wb * x; and we can eliminate "y+k" by combining the two equations containing it. This reduces us to three variables, with these equations:
Wa ( x + 5) + Wb x = 425
Wa * x = Wb ( x + 5) /2
(Wa + Wb) * 17 = 425 (which quickly becomes Wa + Wb = 25)
Now, I think you've done these things; what you didn't do is to gather the three remaining equations so you can see where you stand.
Since we are solving for x, I would probably first try to eliminate Wa or Wb using the last equation, and then the other.
Do you see yet how an orderly approach can make a complicated problem manageable? With random equations written all over the place, you are bound for trouble. Please learn this, if nothing else!