Explanation:
Let us assume p is the number of psychology books and b is the number of biology textbooks.
 
set up first equation: 
 
we know that the total number of books sold was 393
p+b=393 
 
set up second equation: 
 
we know that there were 79 less biology book sold that psychology so...
p = b + 79
 
subsitute p in the first equation to solve for b
 
solve value for p