\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
Consider the differential equation \(y' = 2y - 6\). Which of the following functions is a solution to this equation on \(\mathbb{R}\)?