These are two related chapters about seeking ease and submitting to Allah. Each has its own text.
The texts
When a task is difficult
((اللَّهُمَّ لاَ سَهْلَ إِلاَّ مَا جَعَلْتَهُ سَهْلاً، وَأَنْتَ تَجْعَلُ الْحَزْنَ إِذَا شِئْتَ سَهْلاً)).
When something unwelcome happens or you are overwhelmed
((قَدَرُ اللَّهُ وَمَا شَاءَ فَعَلَ)).
Source and context
These texts are from the relevant chapters of Hisn al-Muslim, compiled by Sa’id ibn Ali ibn Wahf al-Qahtani, as presented in Athkarak. Consult the book on the author’s website.
The context of each text is preserved, including descriptions of an action or narration where relevant. The presence of several passages does not by itself establish that they must be combined or assigned a new number of repetitions.