Вставьте правильные символы:
\(\displaystyle s-(p-r)=\)[?|s|p|r]\(\displaystyle +(s\)[?|+|-]\(\displaystyle p)\)