\documentclass[12pt]{book}
\usepackage{fancybox,fancyheadings,graphicx,wrapfig,floatflt}
\newcommand{\ds}{\displaystyle}
\newcommand{\testname}{Quiz \#3}
\newcommand{\testdate}{\today}
%		Problem
\newcounter{problemnumber}
\newcommand{\Problem}{\stepcounter{problemnumber}
       \item[\fbox{\parbox{.18in}{\hfil\theproblemnumber\hfil}}]}
\newcommand{\Points}[1]{(#1 points) \ }
%		Examheader
\newcommand{\Examheader}{\setcounter{problemnumber}{0}
\centerline{\Large\bf \testname}

SHOW YOUR WORK
\vspace{-7ex}
%\medskip
}
%		Formatting Parameters
\setlength{\parindent}{0pt}
\pretolerance=4000
\setlength{\topmargin}{-.5in}
\setlength{\textheight}{9in}
\setlength{\textwidth}{7in}
\setlength{\headheight}{26pt}
\setlength{\headsep}{2pt}
\setlength{\headrulewidth}{0pt}
\setlength{\oddsidemargin}{-0.25in}
\setlength{\evensidemargin}{-0.25in}
\lhead{\bf Math 125I Winter 2003\\\qquad\\}
\rhead{\bf Name: \rule{2in}{.2pt}\\\qquad\\Quiz Section: \rule{.5in}{.2pt}}
\cfoot{}
\pagestyle{fancy}
%
%
\begin{document}
\thispagestyle{fancy}
%
%			VERSION A
%
\Examheader

\begin{enumerate}
\begin{floatingfigure}[r]{4in}
\vspace{-24ex}
\includegraphics[width=4.25in]{q3_1.eps}
\end{floatingfigure}
\parbox[t]{2.5in}{\item\Points{5} The graph of the function $f(x)$ given in the figure consists of line segments and a semicircle. Let $\ds g(x)=\int_0^x f(u)\,du$.
\begin{enumerate}
\item Compute $g(2)$ and $g(5)$

\item What is the maximum value of $g(x)$ on the interval $(0,6)$?
\end{enumerate}}
\vfill

\item\Points{5} Compute the definite integral $\ds\int_2^e\frac{1}{x\,\sqrt{\ln x}}\,dx$
\vfill

\end{enumerate}
\end{document}