Force 5. The mean of 19 kn lies in the 17–21 kn band. The 30 kn gust lies in the 28–33 kn speed band associated with force 7, but that lookup does not turn the mean wind into force 7. Keep the gust reading separate.
This exercise states the averaging periods explicitly, following the Met Office convention. Other products can use different periods. Check the provider's definition before comparing two wind reports.
The wave height is not established by these wind readings. The table's 2 m at force 5 is a reference for well-developed open-sea wind waves. Swell and local wind waves can coexist; read their height, period and direction separately. This report alone cannot establish conditions for a particular vessel or passage.