Hello,
This is not big tough scenario . If you maintain two Unit of Measurements then you can achieve this .
I donno ,what and how exactly ,you are trying in your system ? Actually ,If we have two unit of measurements in MM01 then system will take one Unit of measurement for first line item automatically and second also ,it will take but you need to manually change that unit of measurement in second line item level in VA01.
Check hereby attached screen shot .
Thanks,
Naren