Two ships A and B are sailing towards each other from two docks at the same time. Ship A travels 38 kilometers per hour, and boat B travels 48 kilometers per hour. The two ships meet after traveling for 4 hours. How many miles are the two piers?
甲乙两艘船分别从两个码头同时相向而行．甲船每小时行驶38千米，乙船每小时行驶48千米，两船行驶4小时后相遇．两个码头相距多少千米？
<gadget id="calculator">38 + 48</gadget>
<output>86</output>

<gadget id="calculator">86 * 4</gadget>
<output>344</output>

<result>344</result>