There are six-person boats X and eight-person boats Y.
6x+8y=40
Rounding number
Four six-person boats and two eight-person boats.
The beauty of mathematics is happy to answer for you, please ask questions if you don't understand! Please accept it if you are satisfied, thank you! O(∩_∩)O~