Hello
I understand that one can, of course, write modern or contemporary style pieces inspired by baroque formats. So, even if it is titled Prelude and Invention (or fugatto), you can do something else different.
However, for my taste, the prelude lacks almost no counterpoint, since the bass is almost always giving a simple bass. And certainly, it can be contemporary, but without a solid counterpoint, I don't know....
The second part has the peculiarity that it starts in a contrapuntal way and very close to baroque and, suddenly, it starts with chords that seem to come out of Stravinsky. That's why it sounds a bit inconsistent, given that it's a very short piece.