What I thought. Thank you. 40 for that much boat is impressive.
40ish knots is the published top speed. There are two variants built by two companies on two totally different designs:
The Freedom class is built by Lockheed on a fairly conventional hull design and the Independence class is built by Austal USA on that trimaran hull. The trimaran is freaky fast with a ridiculously shallow draft for a ship of its size.
Austal also builds some catamaran-hulled high speed transports for the Navy :
https://www.austal.com/ship-types/defence
If you come to town you can take a tour in a WWII amphibious DUKW down the Mobile river and get an up close look at them. I posted a few pics a while back in "what's your view".