Let's call the number of pencils in each package "p".
Kayana used 4 packages of pencils, so she used 4p pencils in total for the first semester.
After that, she used 10 more pencils, so the total number of pencils she used is:
4p + 10
Therefore, the expression to represent the total number of pencils Kayana used is 4p + 10.