The question is how to prove using basic axioms this expression:
$$(A \to B) \to ((\lnot C \to A) \to (\lnot C \to B))$$
I have the list of axioms, one of them looks like this: $A \to (B \to A)...$ But I don't understand how to apply this to my expression...
OK, first prove Hypothetical Syllogism ($\{A \rightarrow B, B \rightarrow C \} \vDash A \rightarrow C$ as a Lemma:
$A \rightarrow B$ Premise
$B \rightarrow C$ Premise
$(B \rightarrow C) \rightarrow (A \rightarrow (B \rightarrow C))$ Axiom 1
$A \rightarrow (B \rightarrow C)$ MP 2,3
$(A \rightarrow (B \rightarrow C)) \rightarrow ((A \rightarrow B) \rightarrow (A \rightarrow C))$ Axiom 2
$(A \rightarrow B) \rightarrow (A \rightarrow C)$ MP 4,5
$A \rightarrow C$ MP 1,6
Of course, $A$, $B$, and $C$ can be any statement here, so this means that you can infer any statement of the form $\varphi \rightarrow \gamma$ from two statements $\varphi \rightarrow \psi$ and $\psi \rightarrow \gamma$. Let's call this Lemma HS, and use it to get your desired result:
$(A \rightarrow B) \rightarrow (\neg C \rightarrow (A \rightarrow B))$ Axiom 1
$(\neg C \rightarrow (A \rightarrow B)) \rightarrow ((\neg C \rightarrow A) \rightarrow (\neg C \rightarrow B))$ Axiom 2
$(A \rightarrow B) \rightarrow ((\neg C \rightarrow A) \rightarrow (\neg C \rightarrow B))$ HS 1,2
Note you are only using Axioms 1 and 2 since this is all about conditionals.