So, you want to record when the inflate switch (buttons are for shirts) becomes pressed. You want to record when the deflate switch becomes pressed.
On any given pass through loop, you want to see if the pad is being inflated (the inflate start time is non-zero) or deflated (the deflate start time is non-zero). If it is being inflated, has it been being inflated for 10 seconds or more? If so, stop the inflator. If not, keep inflating.
If the pad is being deflated, has it been deflating for the time it was being inflated? If so, stop the deflator.
When the inflate switch becomes pressed, you need to do more, obviously, than record the time. When the deflate switch becomes pressed, you need to to more, obviously, than record the time.
You'll need actions in the "when the deflate switch becomes released" and "when the inflate switch becomes released" cases, too.
But, this should give you enough clues to get something started. Post what you come up with, and explain what it actually does, and how that differs from what you want (if it differs).