Make the app play different sounds or tts with different shaking motion

Hello! I'm very new to MIT App Inventor and I'm trying to make an app where an audio plays only on specific shaking motions, like shaking the phone up and down makes it play audio1 and shaking the phone sideways makes it play audio2 specifically, any help would be great and I'm sorry if my wording is messy. Thanks.

Show you blocks and read this first:

Try something with the accelerometer sensor