... i was told that to show an argument is invalid the hypotheses must be true while the conclusion is false.
Please know that an argument is invalid if and only if it is possible for the premises to be true and the conclusion to be false. Whether it is actually the case that the premises are true and conclusion is false is not relevant when it comes to validity.
Of course, one way to demonstrate that an argument is invalid, i.e. to demonstrate that it is possible for the premises to be true and the conclusion to be false, is to create a possible world or scenario in which the premises are true and the conclusion is false.
So, while in the 'normal' world of arithmetic 5 and 7 are both not even, try to imagine a world where 5 is not even, but 7 is. Now, I understand that may be difficult to do, but one way to think about this is that ultimately logic is only about symbol structures ... logic has no 'understanding' of what '5', '7', or 'even' mean ... as far as logic is concerned, to say that '7 is even' is not any different from a claim like 'snow is white': it just says that there is some object that happens to be labeled '7', has some property that happens to be labeled 'even'. And if we have some further object labeled '5', and if we assume that that object does not have the property of 'even', then in that imagined scenario or world, both premises are true, but the conclusion is false, meaning that the argument is invalid.
So again, the premises don't have to be true and the conclusion false in our world for an argument to be invalid. You just need to have a logically possible world (which for classical logic means: claims cannot both be true and false at the same time) in which that is so ... so that need not be our world (or, in this case, the classical world of arithmetic).