; assembler
mov ax, [a] ; ax = a
mov bx, 5 ; bx = 5
mul bx ; ax = 5*a
mov cx, ax ; cx = 5*a
mov ax, [a] ; ax = a
mov bx, [b] ; bx = b
add ax, bx ; ax = a+b
mov bx, ax ; bx = a+b
mov dx, 0
mov ax, 15 ; dx:ax = 15
div bx ; ax = 15/(a+b)
add ax, cx ; ax = 5*a + 15/(a+b)
; result will be in ax