No, neither equation is currently written in the form of \( p = \) some value or \( c = \) some value. You need to rearrange one of the equations to isolate one of the variables before you can substitute it into the other equation.
For example, you could rearrange the second equation \( c + p = 11 \) to solve for \( c \): \[ c = 11 - p \]
Now you can substitute this expression for \( c \) in the first equation \( 3c + 2.5p = 31 \). Alternatively, you could solve for \( p \) instead if that is more convenient.