Jeri has a total of 40 pets with a total of 160 legs. If
she owns only cats and dogs, how many of each does
she have? Write a system of equations to represent
this situation. Solve it using any method.