\documentclass[11pt]{article}
\usepackage{calc,fancyhdr,lastpage}
\usepackage{graphicx}
\usepackage[hmargin=.75in,vmargin=1in,
            footskip=.55in,headsep=.55in-\headheight]{geometry}
\usepackage{amsmath,amssymb}

% Formats, symbols, abbreviations.
\let\altemph\textsl
\let\strong\textbf
\let\code\texttt
\let\latinabb\emph
\newcommand*{\etc}{\latinabb{etc}}
\newcommand*{\eg}{\latinabb{e.g.}}
\newcommand*{\ie}{\latinabb{i.e.}}
% To get proper-looking symbols in \texttt.
\newcommand*{\txtbksl} {\symbol{"5C}}% \
\newcommand*{\txtcaret}{\symbol{"5E}}% ^
\newcommand*{\txtunder}{\symbol{"5F}}% _
\newcommand*{\txtlcurl}{\symbol{"7B}}% {
\newcommand*{\txtrcurl}{\symbol{"7D}}% }
\newcommand*{\txttilde}{\symbol{"7E}}% ~

%% A heading in the instructions.
\newcommand*{\heading}[1]{\subsubsection*{#1}}

% Headings.
\pagestyle{fancy}
\let\headrule\empty
\let\footrule\empty
\lhead{{\bfseries CSC\,320\,H1S}}
\chead{{\bfseries\large Assignment \#\,4
    --- General Instructions}}
\rhead{{\bfseries Winter 2015}}
\lfoot{{Dept. of Computer Science, University of Toronto}}
\cfoot{{}}
\rfoot{{Page \thepage\ of \pageref{LastPage}}}


\begin{document}


\chead{Matting Equation in Matrix From}

$$
\left(\begin{matrix}
1 & 	0 & 	0 & -B^{r}_1 \\
0 & 	1 & 	0 & -B^{g}_1 \\
0 & 	0 & 	1 & -B^{b}_1 \\
1 & 	0 & 	0 & -B^{r}_2 \\
0 & 	1 & 	0 & -B^{g}_2 \\
0 & 	0 & 	1 & -B^{b}_2 \\
\end{matrix} \right) 
\left(\begin{matrix}
F_r \\
F_g \\
F_b \\
\alpha
\end{matrix}\right) = 
\left(
\begin{matrix}
  C^{r}_1  -B^{r}_1 \\
  C^{g}_1 -B^{g}_1 \\
  C^{b}_1 -B^{b}_1 \\
  C^{r}_2 -B^{r}_2 \\
  C^{g}_2-B^{g}_2 \\
  C^{b}_2-B^{b}_2 \\
\end{matrix}
\right).
$$


\end{document}
