Let $f$ and $g$ be functions from $\mathbb{R}$ to $\mathbb{R}$. Prove that:
a.) $\sup\{f(x)+g(x):x\in\mathbb{R}\}\leq \sup\{f(x):x\in\mathbb{R}\}+\sup\{g(x):x\in\mathbb{R}\}$
b.) $\sup\{f(x)+g(y):x,y\in\mathbb{R}\} = \sup\{f(x):x\in\mathbb{R}\}+\sup\{g(y):y\in\mathbb{R}\}$
Attempted proof a.) - Since $f(x)\leq \sup\{f(x):x\in\mathbb{R}$ and $g(x)\leq\sup\{g(x):x\in\mathbb{R}\}$ then we have $$f(x) + g(x) \leq \sup\{f(x):x\in\mathbb{R}\} + \sup\{g(x):x\in\mathbb{R}\}$$ Thus, $f(x) + g(x)$ are bounded from above by $\sup\{f(x):x\in\mathbb{R}\} + \sup\{g(x):x\in\mathbb{R}\}$. So, $$\sup\{f(x)+g(x):x\in\mathbb{R}\}\leq \sup\{f(x):x\in\mathbb{R}\}+\sup\{g(x):x\in\mathbb{R}\}$$
I am not exactly sure how to show b.) any suggestions is greatly appreciated.