Hello Sidxz_,
Thank you for using Apple Support Communities!
We understand from your post that you would like to know what music was in your music library before the Apple Music Family subscription was cancelled. Depending on how long it has been since your subscription was active, enabling Sync Library after you resubscribe may help. This article has steps on how to enable Sync Library:
Turn on Sync Library with Apple Music - Apple Support
This article has information about what happens when your subscriptions end that you may find useful:
Legal - Apple Media Services - Apple
"When your Apple Music membership ends, you will lose access to any feature of Apple Music that requires a membership, including but not limited to access to Apple Music songs stored on your device, and iCloud Music Library."
Best Regards.