How to make rotation of head and arms upwards/downwards to player while using motion matching

Anyone has any ideas how to achieve such thing??? i tried doing it like this