Let us say that:
 X = price of each notebook
 Y = price of each newspaper
  
 So from the problem statement we can create the following equations:
 40 X + 20 Y = 130 --> eqtn 1
 8 X + 4 Y = 28 --> eqtn 2
  
 Divide both equations by the lowest coefficient to simplify:
 Divide eqtn 1 by 20 => 2 X + Y = 6.5
 Divide eqtn 2 by 4=> 2 X + Y = 7
  
 So we can see that although both equations has equal left side, the right side do not match. Hence this problem is impossible to solve.
  
 -> The given information describes an impossible situation.