Salary Component Formula Base * Attendence days

please Can you help me to create a formula in salary component to assaigne to attendence days as
Base * Attendence days

yes what is your requirments

My requirement to create a salary component such as
Base * attendence days
And how I can now and get the IDies or variables_ID to use it in formula of salary components

Example I want to make a component of (Holdays * 1.5 * base)

Do you undestand me and get my question?

base * (salary_slip.total_working_days - salary_slip.absent_days)

salary_slip.holidays * 1.5 * base