A function f has domain [0, 2] and range [0, 1]. (The notation [a, b] denotes {x : a ≤ x ≤ b}.) Define the function g as g(x) = 1 + 3f(2x - 7). If [p, q] is the domain of g and [r,s] is the range of g, then determine p + q + r + s.
p + q + r + s = 47.