we can write 2 equations from the statements
1. contains $10 bills and $50bills with a total value of $1080

where x is the number of bills of $10 and y the bills of $50
2. if there are 28 bills

then we can use any method to find the values of x and y
i will use elimination, for it i will multiply the second equation by 10 and do a substract to eliminate x


the new equation is

we can solve x from it

so, the number of bills of $50 is 20
I must replace y on any equation to find x(I will use the second equation)

so, the number of bills of $10 is 8