Brake pad life is dependent on the rider and geography.. They should last a lot longer than 500 miles though.
The brakes are squealing because the pads and discs are glazed. you need to deglaze them.
Since you have 2 expensive eBikes you should learn to do some basic maintenance yourself. Read the manual and look at some videos.
1. Try the easy way first.. Run your bike up to full speed and stop as fast as you can with only one brake.. do this 5x.. Then do the same on the other brake... A lot of times that can deglaze the pads and disc.
2. IF that doesn't work you're gonig to have to clean up the brakes manually.
Remove the pads from the bike and inspect them for wear and uneven wear.. Replace them if they are very greasy or worn.
There are a lot of videos that explain how you clean the pads and discs.
3. After you've cleaned the pads and discs, you need to bed the brake pads.. Do this by following Step 1.
Have Fun!