Jacob had x apple pies. For each lemon pie sold, 10 more than twice the number of apple pies are sold. If jacob has sold 80 lemon pies, how many apple pies were sold.

A) 70
B) 25
C) 35
D) Not Here