Fixed an Error in my derivation for the Trapezoid

My derivation for the maxSpeed for the triangle case was wrong.