\documentclass[11pt]{article}
\usepackage{amsmath, amsthm, amssymb, amsthm, units, full page}
\usepackage{pstricks-add}

\psset{unit=.25,linewidth=1pt}
\newcounter{prob_num}
\setcounter{prob_num}{1}
\newcommand{\prob}{\arabic{prob_num})  \stepcounter{prob_num}}

\begin{document}


\begin{tabular}{lr}
	Name:\underline{\hspace{8cm}}  & Math 095 Midterm II (C)\\
	& \hspace{3cm} 1 April 2011
\end{tabular}
\\
\textbf{Section I}  Calculate the slope of the following lines.  (3 pts. each)
\vspace{.5cm}\\
\begin{tabular}{ll}
	\vspace{1cm}
	\prob	Between $(0,2)$ and$(2,0)$ &\prob	Between $(-1,7)$ and $(2,-8)$\\
	\vspace{1cm}
	\prob	$y=3$ &\prob	$x=-2$\\
	\vspace{1cm}
	\prob	$y=2x+6$ &\prob	$y-9=9(x-9)$\\
	\vspace{1cm}
	\prob	$2x+8y=4$ &\prob	$6y-6x=-6(x-3)$\\
	\vspace{1cm}
	\prob	$x+2y=-2(y-x)$ &\prob	$3x=2(y-3)-(y+3x)$\\
\end{tabular}\\
	
\textbf{Section II}  Give an equation for the line.  (5 pts. each)
\vspace{.5cm}\\
\vspace{3cm}
\prob	With slope $4$ passing through $(1,-4)$\\
\vspace{3cm}
\prob	Passing through $(5,2)$ and $(8,-1)$\\
\vspace{3cm}
\prob	Passing through $(-3,0)$ and parallel to $y=4x+1$\\
\vspace{3cm}
\prob	Passing through $(4,2)$ and perpendicular to the line $4x+3y=12$\\


\textbf{Section III}  Plot the expression on the Cartesian coordinate system.  (5 pts. each)
\vspace{.5cm}\\
\begin{tabular}{|lr|lr|}
\hline
	\prob $x>2$ &
	\begin{pspicture}(-11,-11)(11,11)
		\psaxes[subticks=0,labels=none]{<->}(0,0)(-11,-11)(11,11)
		\psgrid[subgriddiv=1,griddots=4,gridlabels=0](-10,-10)(10,10)
	\end{pspicture}&
	\prob $y=-5$ &
	\begin{pspicture}(-11,-11)(11,11)
		\psaxes[subticks=0,labels=none]{<->}(0,0)(-11,-11)(11,11)
		\psgrid[subgriddiv=1,griddots=4,gridlabels=0](-10,-10)(10,10)
	\end{pspicture}\\
\hline
	\prob $2=\frac{y-2}{x-2}$ &
	\begin{pspicture}(-11,-11)(11,11)
		\psaxes[subticks=0,labels=none]{<->}(0,0)(-11,-11)(11,11)
		\psgrid[subgriddiv=1,griddots=4,gridlabels=0](-10,-10)(10,10)
	\end{pspicture}&
	\prob $-3=\frac{y+2}{x-4}$ &
	\begin{pspicture}(-11,-11)(11,11)
		\psaxes[subticks=0,labels=none]{<->}(0,0)(-11,-11)(11,11)
		\psgrid[subgriddiv=1,griddots=4,gridlabels=0](-10,-10)(10,10)
	\end{pspicture}\\
\hline
	\prob $3y=-x-9$ &
	\begin{pspicture}(-11,-11)(11,11)
		\psaxes[subticks=0,labels=none]{<->}(0,0)(-11,-11)(11,11)
		\psgrid[subgriddiv=1,griddots=4,gridlabels=0](-10,-10)(10,10)
	\end{pspicture}&
	\prob $x=4y-4$ &
	\begin{pspicture}(-11,-11)(11,11)
		\psaxes[subticks=0,labels=none]{<->}(0,0)(-11,-11)(11,11)
		\psgrid[subgriddiv=1,griddots=4,gridlabels=0](-10,-10)(10,10)
	\end{pspicture}\\
\hline
\end{tabular}
\pagebreak\\
\textbf{Section IV}  Calculate the percent change.  (3 pts. each)
\vspace{.5cm}\\
\begin{tabular}{p{8cm}p{8cm}}
\prob From $18$ to $12$ & \prob From $22$ to $121$
\vspace {4cm}\\
\prob  Lance solved the Rubik's Cube in 90 seconds beating his previous score of four minutes ten seconds.
\vspace {4cm}\\
\multicolumn{2}{c}
\prob The median household income in the USA was \$46,200 in 1999 and \$42,900 in 2001.
\vspace {4cm}\\
\end{tabular}
\vspace{1cm}\\
\textbf{Section IV}  Solve.  (5 pts. each)
\vspace{.5cm}\\
\prob A 1500 gallon pool can be filled at 3 gallons per minute.  How long will the pool take to fill if it is already half full?
\vspace{5cm}\\
\prob To rent a bicycle in the French Quarter, one pays \$50 up front and \$30 per day.  Write an equation giving the cost $C$ in terms of the time in days $d$.  Find the cost of renting a bicycle in the French Quarter for six days.
\vspace{5cm}\\
\prob The formula $A=p+prt$ calculates the amount $A$ to be paid no a principle $p$ with simple interest $r$ after time $t$.  Solve this formula for $r$.
\vspace{5cm}\\
\prob Nancy and Mary live 25 miles apart.  They ride from their homes to meet in a cafe between their houses and meet 1..5 hours later.  One sister rode 5mph faster than the other.  How fast did each of the two sisters ride?
\vspace{5cm}\\
\end{document}

