What forms the country Moldova's borders?

Ukraine - 940 km, Romania - 450 km.

Part of borders are formed by rivers Prut and Nistru (Dniester).