In an earlier answer I suggested a Carnapian definition of analyticity, which was the following:
Definition 1. (Analyticity) Sentence φ (in language L) is analytically true with respect to meaning postulates Π iff (Π → φ) is logically true.
Two important things to notice about this definition.
This definition of analyticity is a relative one: a sentence is analytic "with respect to a set of meaning postulates", not analytic simpliciter. For example, the sentence (1 + 1 = 2) is not analytic simpliciter, but is analytic with respect to, say, Peano's Axioms. So we always need to qualify which set of postulates (e.g. Peano's Axioms) makes a sentence in a language analytically true.
The definition relies on the notion of logical truth, which is also a relative notion but in a different sense. If L is a propositional language, then logical truth will coincide with truth under all truth-assignments to the sentential symbols; if L is a first-order language, then logical truth will coincide with the full-fledged Tarskian definition in terms of truth in a model under an assignment; and so on. So we need to know what the underlying logic is if we want to prove things involving analyticity.
Those points mean that since your problem is underspecified, we can only proceed informally and by making assumptions. The assumption will be that we're working with a propositional language, so logical truth will mean tautology for the rest of our discussion. Let's continue by recalling the basic definition of what makes an argument valid, making use of the notion of logical truth as tautology.
Definition 2. (Argument Validity) An argument of the form Γ ⊢ φ is valid iff every truth-assignment to the propositional symbols occurring in (Γ ∪ φ) that makes all sentences in Γ true, make φ true.
If propositional logic is not what you're working with in class, the definition needs to be altered to say, for example, that the argument is valid just in case all models of Γ are models of φ, and so on. Now we're ready to address the questions.
Q1. Can a valid argument with consistent premises have an analytically impossible conclusion?
For concreteness, let's consider a particular analytically (with respect to Peano Axioms) impossible sentence, say: (0 = 1). It's impossible because it means that 0 is equal to the successor of some number, and Peano's Axioms exclude that possibility. The question, more concretely is, can a valid argument Γ ⊢ φ with consistent Γ be such that φ ≡ (0 = 1)? The consistency condition is meant to rule-out a trivial 'yes', because if Γ is inconsistent, then Γ ⊢ φ is valid for all sentences φ.
Answer. Let Γ be the singleton set {(0 = 1)}. Since (0 = 1) is satisfiable (e.g. assign '0' and '1' both to some element a in the domain of interpretation), Γ is consistent. We already agreed that (0 = 1) is analytically impossible (with respect to PA), so what remains is to show that {(0 = 1)} ⊢ (0 = 1) is a valid argument. It's obvious that any interpretation that makes all sentences in {(0 = 1)} true, makes (0 = 1). So yes, a valid argument with consistent premises can have an analytically impossible conclusion.
Q2. Can a valid argument with analytically compossible premises have a contradictory conclusion?
Consider an arbitrary Γ such that φ1, φ2 are both in Γ (possibly with other sentences compossible with them) and φ1 and φ2 are analytically compossible (with respect to some set of meaning postulates). To define analytic compossibility we need to define analytic possibility first, which we can do as follows:
Definition 3. (Analytic Possibility) Sentence φ (in language L) is analytically possible with respect to meaning postulates Π iff ¬(φ) is not analytic with respect to Π in language L.
We can then say that sentences φ1 and φ2 are analytically compossible (in language L) (with respect to meaning postulates Π) just in case (φ1 ∧ φ2) is analytically possible (in L) (with respect to Π). From this it follows that at least one truth-assignment jointly satisfies φ1 and φ1, so the argument {φ1, φ2} ⊢ ⊥ will be valid just in case those assignments that jointly satisfy φ1 and φ1 also satisfy ⊥. But since ⊥ is a not satisfiable (since it's a contradiction), the answer to (Q2) must be a 'no'.
Hope this helps. Just be aware that a lot hangs on the definition of analyticity and the richness of the underlying language/logic. You may need to tweak the definitions of logical truth and/or analyticity to suit your particular needs. For corrections/suggestions leave a comment or simply edit the post.