The structure 不…也… is used to express that one action will be done, even if another action has to be sacrificed.
The subject is placed at the beginning of a sentence before the construction. 不 and 也 are followed by predicates expressed by verbs.
Scheme
who
不
action 1
也
action 2
Pay attention
Action 1 is usually the action that a person sacrifices for Action 2.
Examples
我不睡觉也要写完我的论文
I'd rather finish my thesis than sleep
wǒ bú shuìjiào yě yào xiěwán wǒ de lùnwén
我不休息也要帮助他
I'd rather help him than rest
wǒ bù xiūxi yě yào bāngzhù tā
他不做作业也玩电脑
He'd rather play computer games than do his homework