Could someone please explain to me how to approach these kinds of question and also what is the answer to the following question?
Give an example of a function $f$ and $g$ such that they are both discontinuous at $c$, however, $f+g$ and $f\cdot g$ are both continuous at $c$.
When given such questions, it is easy to think of piecewise defined functions that by themselves have discontinuities (most commonly the discontinuity is at the point where the piecewise definition "splits"), but their sum / product ends up being constant, and thus continuous.
For example, let
$$ f(x) = \begin{cases} 1 & \text{if }x \ge 0 \\ -1 & \text{if } x < 0 \end{cases} $$ and $$ g(x) = \begin{cases} -1 & \text{if }x \ge 0 \\ 1 & \text{if } x < 0 \end{cases} $$ In other words, $f(x) = \operatorname{sgn}(x)$ and $g(x) = -\operatorname{sgn}(x)$. It is easy to see that $(f + g)(x) = 0 \; (\forall x \in \mathbb{R})$, and so is continuous at $0$, too.
Can you think of a similar example for your second question? Think of two functions that are continuous everywhere except at $0$, but their product evaluates to a constant everywhere. Or you can just look at $f$ and $g$ as I defined them previously :)