solve for r (r + p) / 4 = s

r = 4s / (1 + p)

Explanation: To solve for r, first, get rid of the denominator by multiplying both sides by 4. This results in: r + p = 4s. Then isolate r by subtracting p from both sides to get r = 4s - p.