Picture 1 is a booster pump for a pool cleaner, most likely a Polaris. It will only move what water is sent to it by the main pump.
Picture 2 is a very, very old bronze pump, possibly Aqua Flo, at least 30 years old. The two most important parts of that pump, the impeller and volute are, most likely, completely worn out. That will cause a loss of waterflow.
To do it right, you need a $400.00 motor, a $300.00+ volute, a $35.00 shaft extension (you probably won't be able to get the old one off the motor), three stainless set screws, a $150.00 impeller, a $14.00 gasket and a $15.00 shaft seal. Then, because these pumps are not "plug and play," an amp meter to set the impeller correctly so as to not draw too much current. That's how we did it 30+ years ago when we actually had to buy the motor and wet end separately and put them together in the field.
You will also have to cut the old volute out of the plumbing and re-plumb the new one in. Replace just the impeller and you will have wasted time, effort, money. On those pumps you always had to replace both the impeller and volute.
If it is an Aqua Flo, those parts seem to be available online. Other brand bronze pump parts may be available, as well, they are not interchangeable. You will then have a very inefficient old-style pump that will use way too much energy for the amount of water it will move. You would be better off with a Waterway PowerDefender 110, complete DOE compliant single speed pump for less than or close to the cost of parts for that antique, even without a new motor.
By the way, bronze is a very recyclable material, generally worth as much or more than copper.