Try another version of this question

Translate from words into math notation:

`2` times the difference of `p` and `7` gives `31`