Could you give me some guidance on another question?
it asks to find the general solution
The condition "y1(t)= t" makes no sense. First there is no "y1" in your problem, second, it states an entire function, not an iniitial condition. Please tell us what it really was.
Unless the problem is NOT "to solve the equation" but "given that y1(t)= t is a solution to this equation, find a second, independent solution". If that is the problem, then, of course, "y= t" is NOT a correct answer since that is just the function you were already given.
By the way, going back to your first problem, y'+ z= x, z- 4y= 0, y(0)= 1, z(0)= 1, can be rewritten as a matrix problem. If we let , then and the system becomes
Which we can think of as just "Y'= AY+ F" where A and F are the given 2 by 2 and 1 by 2 matrices. That's relatively easy to solve by finding the eigenvalues of A.