Hmm, it depends on ones knowledge of the command line interface and the necessities of it, like: correctly written commands, no mistakes regarding folders, else you can ruin a lot - or end with a backup which you don’t find.
The application itself has a specific name, called the application ID, you can find that one under Settings => Applications (or Apps) => Show all apps => Find the app you search for and click on it.
On the lower edge of the screen if you scroll down you’ll find its version number and below the package application ID.
That’s the first step to know how the application itself can be identified, in places where it is not listed with its name (like as an .apk in the folder structure).
For adb usage, there are several necessities, like unlocking the developer mode in Android itself, activating the adb USB accessibility etc. - not to talk about setting up the adb tools on your computer. That’s somewhat more complicated, depending on what you have in experience out of a technical view.
A backup application might be ways more comfortable and less hassle in your case. Regarding the Samsung phone I’ve no idea how well those work with One UI 7.0 and its “vendor limitations”, unfortunately.
“Neo Backup” could eventually be an option for both of your devices (or OS’es), as it allows a quite easy backup of applications and (some) user data. But it seems to still need su / root rights.
@K4096K wrote an article about hardening an /e/ OS towards safe and secure usage by kids (or other users) with limited access to settings and functions. He / she explained the way of removing pre-installed applications by adb in a part of the article, which as well shows how to pull an .apk over:
https://medium.com/@k4096k/a-safe-android-for-kids-eb9f63973312
But it is still more hassle than to “click some buttons in a GUI”, you see.