If the 9th grade art course and/or the 10th grade music appreciation course were year long high school courses, then they count toward the UC art subject requirement.
http://admission.universityofcalifornia.edu/freshman/requirements/a-g-requirements/index.html