Qiraat in Salaah

Reciting a portion of one surah in the first rakaat and reciting a portion of another Surah in the second rakaat

Q: If a person recites from the middle of one surah in one rakaat and from the middle of another surah in the second rakaat or if a person recites from the end of one surah in one rakaat and from the end of another surah in the second rakaat of a fardh Salaah, will the Salaah be valid?