Initially there were 12 dogs
dogs left at the end of day =4
number of dogs sold=12-4=8
price of one dog=$104
price of 8 dogs = 104*8= $832
initially there were 8 cats
cats left at the end of day =5
number of cats sold =8-5=3
price of one cat= $25
price of 3 cats =25*3= $75
ratio of sales for dogs to cats = 832/75
Let , coordinate of points are P( h,k ).
Also , k = 3h + 1
Distance of P from origin :

Distance of P from ( -3, 4 ) :

Now , these distance are equal :

Solving above equation , we get :

Hence , this is the required solution.
Answer:
is there more to the problem
It can't be factored because there are no 2 numbers that when you multiply you get 35 and when you add you get 13.