It is impossible to automatically recover the password for your PrisonTale game account due to security reason.
Subagames account and pristontale account use different passwords even if the ID are the same
As it looks like you gained gained access to your subagames account, please now send ticket to support to recover your PristonTale game account password.
Instruction on how to send a ticket are in my signature.
If you have created a new subagames account, you must then head over to
https://pt1.subagames.com/
Login with your subagames account, from there you can create pristontale game accounts.