solution2

Not sure what you need?