If I have a series of magnets like below, do their fields combine to create one giant magnet, or do their individual fields remain?
Also, how do I calculate the force of attraction/repulsion between two magnets?
The magnetic field of a permanent magnet is the sum of the alignment of the magnetic dipoles of the electrons involved. (Since the electrons in the atom are also aligned with each other and in relation to the nucleus, the real summary magnetic field is smaller than the theoretically possible field if all subatomic particles were aligned in parallel). If you now hold a second magnet to the first one, you get a stronger magnetic field from the sum of the alignment of the magnetic dipoles of the subatomic particles from both magnets.
But be careful. There is a magnetic saturation for each material. This means that magnetic field lines will then emerge from the side of the bar magnet. An ever longer chain of bar magnets does not result in an ever stronger magnetic field at the poles.
On the other hand, there is also an amplification of the summary magnetic field. This happens when magnetic saturation has not yet been reached in one magnet and this magnet is connected to a second magnet. Then there is a self-amplifying effect in which the magnetic dipoles of the subatomic particles are more strongly redirected from their mutual dependence in the atomic compound and aligned in the direction of the common macroscopic magnetic field.
The physical equations which describe magnetism are Maxwell's equations which are linear, and thus follow the superposition principle. The superposition principle states that the addition of two solutions of these equations is again a solution of the equations. If we apply this to your example and assume that the magnets don't influence each others fields (which isn't exactly true but poses a good approximation), we get that indeed the fields of the two magnets add up. So in simple terms: Yes, the fields of the two magnets "combine" to form an overall field which is created by the two magnets.
As for your second question: One way to do this would be to model each of your magnets as a magnetic dipole (which for the scope of your question should be a good enough approximation). Then you can calculate the force between the two magnets as \begin{equation} \mathbf{F} = \nabla (\mathbf{m_1} \cdot \mathbf{B_2}) \end{equation} where $\mathbf{m_1}$ is the magnetic moment of the first magnet and $\mathbf{B_2}$ is the magnetic field of the second magnet (I'm just considering two magnets for simplicity). The magnitude of $\mathbf{m_1}$ gives you the "strength" of the first magnet, whilst its direction corresponds to the orientation of the magnet. So for example, if you start by holding your magnets next to each other so that they attract each other and then you turn the first one by 180 degrees (which corresponds to a change of sign of $\mathbf{m_1}$) they will repel each other (which corresponds to the change of sign of $\mathbf{F}$ that follows from the change of sign from $\mathbf{m_1}$). The magnetic field of the second magnet can be calculated as
\begin{equation} \mathbf{B_2} (\mathbf{r}) = \frac{\mu_0}{4\pi} \left( \frac{3\mathbf{r}(\mathbf{m_2} \cdot \mathbf{r})}{r^5} - \frac{\mathbf{m_2}}{r^3} \right) \end{equation}
where now $\mathbf{m_2}$ is the magnetic moment of the second magnet. So in total we get
\begin{equation} \mathbf{F} = \frac{\mu_0}{4\pi} \nabla \left( \frac{3(\mathbf{m_1} \cdot \mathbf{r})(\mathbf{m_2} \cdot \mathbf{r})}{r^5} - \frac{\mathbf{m_1} \cdot \mathbf{m_2}}{r^3} \right) \end{equation}
Also this expression doesn't change, if we exchange $\mathbf{m_1}$ and $\mathbf{m_2}$ which just means it doesn't matter, which magnet you label as "first" magnet and which as "second". You can label them however you wish, it doesn't affect the outcome of the calculation.